aboutsummaryrefslogtreecommitdiffstats
path: root/core/types
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-08-21 10:00:05 +0800
committerGitHub <noreply@github.com>2018-08-21 10:00:05 +0800
commit1ebe7b8729a166745d56203685232cb2e7d41cab (patch)
treeee5546328ab67c49a8a61de607b783f1102ade58 /core/types
parent1e71e263e063adbe7e44d48818f9c74924a2945d (diff)
downloaddexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar
dexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.gz
dexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.bz2
dexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.lz
dexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.xz
dexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.tar.zst
dexon-consensus-1ebe7b8729a166745d56203685232cb2e7d41cab.zip
core: tune performance total ordering (#66)
- the checking of `internal stability` is more expensive than checking `len(ANS) == validatorCount`. So only check it when `len(ANS) != validatorCount`. - cache the result of `grade` between candidates. - cache the `acking height vector` of each candidate. - add test on total ordering with different acking frequency between blocks.
Diffstat (limited to 'core/types')
0 files changed, 0 insertions, 0 deletions