Revision 8e22912...

Go back to digest for 26th January 2014

Optimization in Development Tools

Milian Wolff committed changes in [kdevplatform] /:

Optimize qHash(Path) to not allocate any memory.

We do this by leveraging KDevHash which we feed with the individial
segment's qHash values.

0.00077 msecs per iteration (total: 51, iterations: 65536)
0.00048 msecs per iteration (total: 64, iterations: 131072)

So about 38% faster.

File Changes

Modified 3 files
  •   project/path.cpp
  •   project/tests/testpath.cpp
  •   project/tests/testpath.h
3 files changed in total