finalfusion / finalfusion-inspector

User-friendly interface to similarity and analogy queries, maybe more later
Other
0 stars 0 forks source link

Perform queries async #1

Open danieldk opened 4 years ago

danieldk commented 4 years ago

Currently, queries are executed in the main (UI) thread. This freezes up the interface while doing computations. On my machine, processing similarity/analogy queries is so fast that I don't notice anything. But it would be nice to do heavy computations asynchronously.

Possible problems: does the Rust Python module use the GIL in relevant code paths?