Skip to content

Unsuccessful/caching not witness status#4

Open
bragov4ik wants to merge 4 commits intomasterfrom
unsuccessful/caching-not-witness-status
Open

Unsuccessful/caching not witness status#4
bragov4ik wants to merge 4 commits intomasterfrom
unsuccessful/caching-not-witness-status

Conversation

@bragov4ik
Copy link
Copy Markdown
Owner

Actually this cache doesn't seem to improve the performance.
In some cases, the performance drops by a few percents, in other, it increases by the same amount.
Overall, not a reasonable improvement, considering a mess it introduced with types for witness statuses.

It makes sense, since inside is_unique_famous_witness already uses cached is_famous_witness and it checks only events from a single round

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant