Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Conversation

@spoonincode
Copy link
Contributor

Change Description

The OC code cache was using an ordered index for the cache lookup. This results in surprisingly expensive lookups compared to a hashed index which suffices for this use case. Switch over to a hashed index.

Frees over 1% of main thread time on a busy chain in my tests. Actual results will vary depending on chain activity, hardware, etc

Change Type

Select ONE

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@heifner
Copy link
Contributor

heifner commented Dec 4, 2020

LGTM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.