diff options
author | Jack Lloyd <[email protected]> | 2019-09-28 06:41:49 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-09-28 06:47:17 -0400 |
commit | 455bbd7e91cbbf92c8bc7b3db1fef0e7015f2bb3 (patch) | |
tree | 8224c781f40d02764fa5976a1b894c36b05629ce /src/cli | |
parent | 5befd710a9ba2a40c0998c3e0a87943e4b8f829b (diff) |
OCB optimizations
Mostly avoiding/caching dynamic allocations.
Also in speed, increment the IV from the low end which demonstrates
OCB's enhanced handling of that case.
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/speed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp index d5a23f08c..090b0abb1 100644 --- a/src/cli/speed.cpp +++ b/src/cli/speed.cpp @@ -1031,7 +1031,7 @@ class Speed final : public Command if(iv.size() > 0) { - iv[0] += 1; + iv[iv.size()-1] += 1; } } } |