polyglot
polyglot copied to clipboard
question about the speed
I want to increase the detection speed. I used multi-threading, but found that the speed is slower. How to increase the speed? Or how to properly parallelize the detection text
Did you try to use multiprocessing ?
In python thread are generally a bad idea, because of the GIL (Global Interpreter Lock). You're best bet is generally with multi process.