tesseract.js icon indicating copy to clipboard operation
tesseract.js copied to clipboard

Replace child_process with worker_threads in Node.js version

Open Balearica opened this issue 1 year ago • 0 comments

Replacing child_process with worker_threads should yield better performance and a smaller memory footprint in general. Additionally, as images being serialized/deserialized when passed to child processes appears to be the major bottleneck on the Node.js version, so this change is likely to resolve as worker_threads uses structuredClone.

Balearica avatar Aug 10 '22 04:08 Balearica