On Fri, Apr 2, 2010 at 8:18 PM, Andre Poenitz
<[email protected]> wrote:
> Are you sure introducing the loop does not impact performance?
> This is in the critical path...
It's bound almost exactly like the original code (in char/string
comparisons and other operations) with a much smaller footprint (fewer
branches, less i-cache trashing); but i haven't benchmarked it.
If there's an additional cost in my patch it lies in the keyword and
identifer path where i need to do some matching.

I didn't want to over-engineer my initial submission, but as a
refinement some kind of hashing could be used; and those ugly string
pointers removed (that would require some preprocessing trickery).
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to