Revision ed3045d...

Go back to digest for 15th December 2013

Optimization in Development Tools

Milian Wolff committed changes in [kdevplatform] /quickopen:

Optimize: decrease size of ProjectFile by 8 bytes.

The project name can be looked up on demand, it is only required for
the actively selected file in the quickopen model.

As these structs are created in high order, saving 8 bytes here can
simply add up to quite a lot of memory saved. Furthermore, it speeds
things up as copying is faster for smaller structs.

File Changes

Modified 2 files
  • /quickopen
  •   plugins/projectfilequickopen.cpp
  •   plugins/projectfilequickopen.h
2 files changed in total