aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-01 14:06:12 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-01 14:06:12 +0100
commit5d4ef719b9763ce9c150b93d61e541f5bbc1bbb9 (patch)
tree3a021261fdba3e29fda6a43f4bc3bf4f69136e87 /contrib/epee/include
parentperf_timer: allow profiling more granular than millisecond (diff)
downloadmonero-5d4ef719b9763ce9c150b93d61e541f5bbc1bbb9.tar.xz
core: speed up output index unique set calculation
A sort+uniq step was done for every tx in a 200 block chunk, causing a lot of repeated scanning as the size of the offset map got larger with every added tx. We now do the step only once at the end of the loop. Doing it this way potentially uses more memory, but testing shows that it's currently only about 2% more.
Diffstat (limited to 'contrib/epee/include')
0 files changed, 0 insertions, 0 deletions