Revision 381300a...
Go back to digest for 11th September 2011Optimization in Development Tools
Milian Wolff committed changes in [kdevplatform] /duchain:
optimize: make it possible to get the index for a string without the refcount overhead
We introduce a static IndexedString::indexForString() function that
can be used by cpp's tokenizeFromByteArray. We can thus bypass the
overhead of the refcounting of IndexedString temporaries and hence
have somewhat less wait time
File Changes
Modified 2 files
- /duchain
- language/indexedstring.cpp
- language/indexedstring.h
2 files changed in total