AkioNak
commented at 11:25 AM on July 5, 2018:
contributor
This patch intends to fix some incorrect action of bench/prevector.cpp.
PrevectorClear()
2nd call of clear() should to operate t1 instead of t0.
This patch changes t0 to t1.
PREVECTOR_TEST()
PREVECTOR_TEST macro should to call both
PrevectorXX<nontrivial_t>(state) and PrevectorXX<trivial_t>(state)
by specific "name" which given by parameter instead of calling
PrevectorResize<>() regardless of "name".
This patch changes "PrevectorResize<" of this macro to
"Prevector ## name<".
fix bench/prevector.cpp
1. PrevectorClear()
2nd call of clear() should to operate t1 instead of t0.
This patch changes t0 to t1.
2. PREVECTOR_TEST()
PREVECTOR_TEST macro should to call both
PrevectorXX<nontrivial_t>(state) and PrevectorXX<trivial_t>(state)
by specific "name" which given by parameter instead of calling
PrevectorResize<>() regardless of "name".
This patch changes "PrevectorResize<" of this macro to
"Prevector ## name<".
1fc605a8ae
fanquake added the label Tests on Jul 5, 2018
laanwj requested review from eklitzke on Jul 5, 2018
laanwj requested review from sipa on Jul 5, 2018
laanwj
commented at 11:48 AM on July 5, 2018:
member
requesting review from @eklitzke as he wrote this code, and @sipa as he wrote prevector
fanquake renamed this: fix bench/prevector.cpp bench: fix incorrect behaviour in prevector.cpp on Jul 5, 2018
Empact
commented at 3:54 AM on July 6, 2018:
member
utACK1fc605a could you post before and after bench results?
AkioNak
commented at 5:49 AM on July 6, 2018:
contributor
@Empact Here are bench results with following commnad.
$ ./src/bench/bench_bitcoin -evals=10 -scaling=10 -filter="Prevector.*"
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-02 03:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me