Hi. After trying boost RegEx++ in intensive string processing(NLP), performance is poor. Simply, for those who wants the quickest regex modules in C++/C , does anybody know what´s the best open source alternative? Thank you.
"shevaxp"
After trying boost RegEx++ in intensive string processing(NLP), performance is poor. Simply, for those who wants the quickest regex modules in C++/C , does anybody know what´s the best open source alternative?
This doesn't reply your answer, but when I discovered that the Boost regex library was the performance bottleneck in one of my applications, I was able to considerably speed it up by using a faster allocator.
Thomas Maeder wrote:
"shevaxp"
writes: After trying boost RegEx++ in intensive string processing(NLP), performance is poor. Simply, for those who wants the quickest regex modules in C++/C , does anybody know what?s the best open source alternative?
This doesn't reply your answer, but when I discovered that the Boost regex library was the performance bottleneck in one of my applications, I was able to considerably speed it up by using a faster allocator.
Could You please tell us which one You used? The boost pool_allocators gave me exactly no difference in speed for my own project ... Markus
Markus Werle
Could You please tell us which one You used? The boost pool_allocators gave me exactly no difference in speed for my own project ...
I wrote one myself. I then was pointed to the optimized allocators that come with STLPort (based on work from SGI) and had similar results. My implementation stores deallocated chunks in a singly-linked list and tries to allocate from that list before asking a different allocator for the memory. This works quite well if you use one allocator per regex, since most chunks allocated when using one regex have the same size.
Hi. After trying boost RegEx++ in intensive string processing(NLP), performance is poor. Simply, for those who wants the quickest regex modules in C++/C , does anybody know what´s the best open source alternative? Thank you.
I plan a re-write this autumn to improve performance, but seriously it's not that bad compared to the opposition: see http://ourworld.compuserve.com/homepages/john_maddock/proposals/exregex.htm. Ultimately if performance is that important to you then regex's are the wrong tool - you probably should be using YACC or whatever... John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
participants (4)
-
John Maddock
-
Markus Werle
-
shevaxp
-
Thomas Maeder