Snowball is Thread Safe?

Michel Lemay <[email protected]>
Newsgroups gmane.comp.search.snowball
Message-ID <A61F392A589B1C4BB1C84C630305EB3268D273256E@EXCLSTR1.corp.coveo.com>
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

_______________________________________________
Snowball-discuss mailing list
[email protected]
http://lists.tartarus.org/mailman/listinfo/snowball-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.