Oh dear. Think context!
To be more explicit. Think of the context in which I said what I said. Think of the purpose of that.
Just as newbies don't need to be appraised up front with the details of the inner working of the regex engine, they don't need to be appraised of the inner workings of threads. The point was simply that without having been shared, each thread will get an independent, unshared copy of the array.
Your interjection is:
to the OP;
My understanding of the internals of the iThreads is:
You don't need to be Jeff Friedl to help people with their regex problems. And if you were him, it wouldn't be useful to go into the all the DFA/NFA blah blah details of the internals when responding.
And it seems to me that if you aren't aware of the semantic differences between the copying of non-shared arrays; and the sharing of shared arrays, you're the one lacking understanding. But, I know you almost certainly are aware of those differences, which just confirms that your interjection is ...
Not intended to help the OP, but simply to come out in support of an untenable position.
Your time might be better spent where it would be most valuable. Eg. correcting some of the unnecessary extravagances of the current implementation.
In reply to Re^3: Is Using Threads Slower Than Not Using Threads?
by BrowserUk
in thread Is Using Threads Slower Than Not Using Threads?
by Dru
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |