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?
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?