Revision 06240d0...

Go back to digest for 21st October 2012

Features in Development Tools

Milian Wolff committed changes in [kdevplatform] language/duchain/tests/test_itemrepository.cpp:

Add a test that shows that we do not make use of implicit sharing in IndexedString <-> QString conversions.

I.e. the memory consumption of that test increases as a new instance is
allocated everytime we call ::str(). We should investigate whether we could
maybe reuse the same QString instance to optimize the memory consumption.
Same goes for .toUrl() btw.

File Changes

Modified 1 files
  • language/duchain/tests/test_itemrepository.cpp
1 files changed in total