The point of spawning early is to avoid there being much already in memory to cause duplication. Obviously, there's no point in require instead of use if all your threads need everything. (Hence (individually).)
So I can use this optimisation if I need run a single specific thread, but if I need to start a bunch of identical worker threads it won't work.
In reply to Re^15: Strange memory leak using just threads (forks.pm)
by zwon
in thread Strange memory leak using just threads
by MnkyBrain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |