Open
Description
Hi, thanks for compiling hnsw to webassembly! I am using this library for several of my open source packages.
I have found the following issue: When I try to load multiple indexes in parallel and read the saved index from indexeddb or diskemscripten FS using readIndex
, Webassembly errors get thrown around. I don't get a specific error message. Just "webassembly.exception"
like this:
The error message doesn't have any real information attached to it.
--> my solution right now is to add a pause of 500ms before loading another index. And that seems to mitigate the issue for now.
here is the code if you're interested:
This works. But I want to throw that in here. Maybe there is an easy solution to this. My workaround is quiet dirty.
Metadata
Assignees
Labels
No labels