Skip to content

optimize length(::OrdinalRange) for large bit-ints #58864

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

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

Conversation

mbauman
Copy link
Member

@mbauman mbauman commented Jul 1, 2025

Split from #58793, this coalesces nearly all the branches in length, allowing it to inline and generally perform much better while retaining the exact same functionality.

this coalesces all the branches in `length`, allowing it to inline and generally perform much better while retaining the exact same functionality.

Co-authored-by: N5N3 <2642243996@qq.com>
@mbauman mbauman requested a review from N5N3 July 1, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Must go faster ranges Everything AbstractRange
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants