mirror of https://github.com/Gnucash/gnucash
don't create intermediate lists which are immediately used and discarded. don't locale-compare commodity names, which has locale-transform overhead, and creates lots of temporary strings. testing for duplicates via O(N) member is very adequate because num(unique commodities) is expected to be small. use the stack when accumulating commodities, avoiding need to prepend and reverse.pull/1850/head
parent
7a17b24e34
commit
1a5247c10e
Loading…
Reference in new issue