summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-03 05:56:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-04 05:16:30 -0400
commitf16a5382ed9a9750c69595e5752f80e39cf7a4b8 (patch)
tree8ad1eb94b5706479ff737ff45a68715deddca889 /src/global.cc
parenta4a45cb4d61e028a19be3fb5be889e62dc83214e (diff)
downloadfork-ledger-f16a5382ed9a9750c69595e5752f80e39cf7a4b8.tar.gz
fork-ledger-f16a5382ed9a9750c69595e5752f80e39cf7a4b8.tar.bz2
fork-ledger-f16a5382ed9a9750c69595e5752f80e39cf7a4b8.zip
commodity_t::find_price now uses memoization
This reduces the slowdown of using -V and -X from 36x in some cases down to around 4-5x (for a debug build).
Diffstat (limited to 'src/global.cc')
0 files changed, 0 insertions, 0 deletions