On Mon, Oct 10, 2011 at 7:41 PM, Mark <[email protected]> wrote: > On Mon, Oct 10, 2011 at 6:28 PM, Thiago Macieira <[email protected]> wrote: > >> On Monday, 10 de October de 2011 18:13:47 Giuseppe D'Angelo wrote: >> > If a solution doesn't come up in time for 5.0, could QRegExp still be >> > moved into a separate module so that it's possible to put a >> > replacement inside qtbase somewhere in the 5.x lifetime? >> >> Unknown. We need to figure out how to do that without breaking QString. >> >> Can't there be a "QRegExp2" that is made with the regex engine? > QRegExp2 should then be used for stock Qt classes (QString and what else is > using it). > QRegExp should be deprecated and dropped in Qt 6 ..? > > I'm also guessing that using std::regex is not an option since not all > compilers that Qt support have std::regex support. > > Just some brainstorming... > > Found something that is probably interesting for Thiago with his high performance blog posts -- i like those posts a lot btw -- :) I came across this link:
http://blog.phusion.nl/2010/12/06/efficient-substring-searching/ source: https://github.com/FooBarWidget/boyer-moore-horspool That (Boyer-Moore or Boyer-Moore-Horspool) is probably very interesting in speeding up string matching anywhere in Qt. If used in RE2 it would probably speed it up a lot as well. I don't have numbers nor did i test it.. Just assuming it ^_^
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
