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

Speed up indexing of re-inscriptions #2608

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

SmarakNayak
Copy link
Contributor

When logging re-inscription info, use already calculated next_sequence_number rather than calling id_to_entry.len()

On my PC (5600x, 32GB) speeds up indexing by ~40s per re-inscription.

SmarakNayak and others added 2 commits October 29, 2023 16:46
When logging re-inscription info, use already calculated sequence number rather than working it out from inscription id database length
Copy link
Collaborator

@raphjaph raphjaph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@raphjaph raphjaph enabled auto-merge (squash) October 30, 2023 20:48
@raphjaph raphjaph merged commit 8cdcca7 into ordinals:master Oct 30, 2023
6 checks passed
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.

3 participants