diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-06 21:55:23 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-06 21:55:37 +0100 |
commit | b7c8812ad0c2b10a760c5b900c18275620b8c675 (patch) | |
tree | 44f0f17f8a1e277c7e69bcd90586c7b4e85d84eb /doc/build-windows.md | |
parent | 85424d79eded606a61cd6a2a3173b8bd04e1201c (diff) | |
parent | 22b4aae0284511e9a6a957197dae237a1799aa20 (diff) |
Merge #12564: [arith_uint256] Avoid unnecessary this-copy using prefix operator
22b4aae02 [arith_uint256] Avoid unnecessary this-copy using prefix operator (Karl-Johan Alm)
Pull request description:
I noticed while profiling a related project that `operator-()` actually calls the `base_uint` constructor, which is because the postfix operator version of `operator++` (used in `operator-()`) creates a copy of `this` and returns it.
Tree-SHA512: d9a2665caa3d93f064cdeaf1c6fada101b9943bb53d93ccac6d9a0edac20279d2e921349e30239039c71e0a9629e45c29ec9f10d8d7499e936cdba6cb7c3c3eb
Diffstat (limited to 'doc/build-windows.md')
0 files changed, 0 insertions, 0 deletions