Revision 2c13085...

Go back to digest for 9th February 2014

Optimization in Office

Cristian Oneț committed changes in [kmymoney] /mymoney:

Performance optimization for MyMoneySeqAccessMgr::price().

Added testcases for this method.

According to valgrind this was the most expensive method of the
MyMoneySeqAccessMgr class which, in turn, was the most expensive
KMyMoney class considering the execution time.

After this price() moves bellow the transactionList() and
calculateBalance() methods and MyMoneySeqAccessMgr moves bellow
clases like MyMoneySplit and MyMoneyTransactionFilter.

File Changes

Modified 3 files
  • /mymoney
  •   kmymoneyfiletest.cpp
  •   kmymoneyfiletest.h
  •   kmymoney/storageseqaccessmgr.cpp
3 files changed in total