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

improve performance of successful int extract by ~30% by avoiding calls to __index__ where redundant #3742

Merged
merged 1 commit into from
Jan 16, 2024

Commits on Jan 16, 2024

  1. improve performance of successful int extract by ~30%

    add newsfragment
    
    formatting
    
    skip slow path on 3.8+
    
    formatting
    
    cfg if,else
    
    formatting again
    
    dedicated macro, change int_convert_u64_or_i64 too
    
    add float tests
    
    force index call for PyLong_AsUnsignedLongLong
    
    perform PyLong check for 3.8 too
    
    perform PyLong check for <3.10
    samuelcolvin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0e876d9 View commit details
    Browse the repository at this point in the history