[Snowball-discuss] Snowball is Thread Safe?

Michel Lemay mlemay at coveo.com
Thu Feb 17 14:38:14 GMT 2011


I was playing with the stemmer and in order to get some performance, I parallelized it with TBB.
It crashed instantly..  Having one instance of the stemmer per thread fix the problem..

This finding is rather surprising!  Any reason why it has been implemented in this way: sharing internal buffer instead of using stack storage ?

Thanks

Michel Lemay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20110217/46560de7/attachment.htm>


More information about the Snowball-discuss mailing list