[Qt-interest] QRegExp compilation

Eric Clark eclark at ara.com
Wed Jan 13 19:04:41 CET 2010


Hello All,

Someone recently posted some optimization help with regular expressions and strings and they mentioned that it is better to not have to recreate regular expressions if you use the same one numerous times because compilation is time consuming. I was wondering if the QRegExp class recompiles the regular expression when it is copied from one to the other? Or if the compilation is copied with the QRegExp?

Hopefully this makes sense.

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100113/4fc45012/attachment.html 


More information about the Qt-interest-old mailing list