Skip to content

Draft: refactor: prematurely optimize action_plan

Yaroslav Dynnikov requested to merge premature-optimization into master

With an introduction of voters distribution (see #185 (closed), !440 (merged)) raft_conf_change became more expensive.

This patch introduces a caching mechanism that allows skipping those computations.

Benchmark tests should be performed and addressed later though (in scope of #213 (closed)).

Edited by Yaroslav Dynnikov

Merge request reports