Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
4.6.3, 4.7.0
-
None
-
Debian Squeeze GNU/Linux, 4.7.0-rc1, Qt 4.7, Qt 4.6.3. Core 2 Duo E8600, 6 GB RAM.
Description
QRegExp is unusable (takes 2 minutes to complete) in example attached.
File used in the example (zlib.h) is attached.
In the example, QRegExp::indexIn should fail, but it takes 2 minutes to complete on the 72Kb string.
Output on my PC (Core 2 Duo 3.2 GHz):
Starting:
Time is 117 secs.
This bug makes KDevelop4 CMake parser almost unusable for many projects.
CMake parses this regexp in the same situation in less than 3 seconds.