aboutsummaryrefslogtreecommitdiff
path: root/src/script/ismine.cpp
diff options
context:
space:
mode:
authorKaz Wesley <[email protected]>2016-04-14 09:26:32 -0700
committerKaz Wesley <[email protected]>2016-04-16 08:05:11 -0700
commita7af72a697a8decab364792230153f114be3919c (patch)
tree086ebada01f780d23b4785212b50bad679ddb1af /src/script/ismine.cpp
parenttest prevector::swap (diff)
downloaddiscoin-a7af72a697a8decab364792230153f114be3919c.tar.xz
discoin-a7af72a697a8decab364792230153f114be3919c.zip
prevector::swap: fix (unreached) data corruption
swap was using an incorrect condition to determine when to apply an optimization (not swapping the full direct[] when swapping two indirect prevectors). Rather than correct the optimization I'm removing it for simplicity. Removing this optimization minutely improves performance in the typical (currently only) usage of member swap(), which is swapping with a freshly value-initialized object.
Diffstat (limited to 'src/script/ismine.cpp')
0 files changed, 0 insertions, 0 deletions