Revision 1b170df...

Go back to digest for 22nd December 2013

Optimization in Development Tools

Milian Wolff committed changes in [kdevplatform] /duchain:

Instead of reinventing the wheel, reuse QThreadStorage.

While at it, speed-up DUChainItemFactory::copy by only accessing
the TLS once, then operate on a bool& afterwards.

Now all cases are equally fast, independently of the value of what
constant value is currently set or requested.

File Changes

Modified 3 files
  • /duchain
  •   languagebase.cpp
  •   languagebase.h
  •   languageregister.h
3 files changed in total