On Wednesday 07 September 2011 01:22:06 ext Campbell Barton wrote: > Recently someone added a file to our project which is 5.8mb, this > hangs QtCreator while parsing - its just a large float array so theres > nothing really interesting in the file. > > Is there some way to get QtCreator not to parse specific files? > > Note: I'll also check on having this data not be in source, but this > specific area isn't something I maintain. > > ... backtrace in-case its useful.
No, we don't have a way to exclude files from parsing. But I did some profiling with a 14 MB file that had a million unique floating point literals - and it seems our literals hash produces a lot of collisions. I replaced the hash and now it parses in 1.5 seconds instead of >2 minutes. :) The change is currently in review and will hopefully hit master soon. Cheers, Christian _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
