langsci / pypi

Packages for the Python Package index
2 stars 1 forks source link

Multi-threading for autoindex.py possible? #11

Closed kopeckyf closed 2 years ago

kopeckyf commented 4 years ago

For some time later: Can we enable Multi-threading on autoindex.py? For example, each thread could run on one chapter file

Glottotopia commented 2 years ago

On a sample project (Velar Fronting), autoindexing with 5 threads takes 33 seconds. With 1 thread (or without multithreading) it takes 22 seconds, with 2 threads 25 seconds. There is thus no gain in using multithreading.