Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find Jets in Registry Faster #1784

Open
wants to merge 4 commits into
base: base
Choose a base branch
from
Open

Conversation

agureev
Copy link
Contributor

@agureev agureev commented Jan 16, 2025

Mug lookup is slower in Elixir due to Murmur3 implementation. Instead,
our equality is faster and hence should be used in mug's stead.

Hence now jet lookup goes through direct equality checking.

Make the layer and door computations explicit in the Jet module.
Prior, the jet registry carried the mug of the parent to compare
against. However, mug computations for such large core can be
expensive in Elixir due to murmur3 limitations.

In order to speed up the process, we now store instead of mugs the
actual parents and can compare against them during the jet checks.
Mug lookup is slower in Elixir due to Murmur3 implementation. Instead,
our equality is faster and hence should be used in mug's stead.

Hence now jet lookup goes through direct equality checking.
@agureev agureev added the nock Deals with the nock VM Environment (interpretation, jam, cue etc.) label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nock Deals with the nock VM Environment (interpretation, jam, cue etc.)
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

1 participant