saus
saus copied to clipboard
Cache the worker pool globally for multiple build calls
Currently, each build call manages its own worker pool, but that means multiple builds will incur the same startup penalty when they could be reusing workers from previous builds.
The proposed feature would introduce a terminateWorkerPool exported function that you would only call when you're done calling build for the rest of your program.