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

MAINT: remove duplicated integer code #8856

Closed
wants to merge 1 commit into from

Commits on Mar 27, 2017

  1. MAINT: remove duplicated integer code

    Our historical integer names contain a duplicate for example long and
    longlong are int64 on 64 bit platforms or int and long are int32 on 32
    bit platforms.
    This causes quite significant code bloat, in particular for functions
    compiled for multiple instruction sets.
    
    This duplication can't be removed as it is part of our API but we can
    avoid some of the bloat by only generating code once for each real type
    and correctly mapping them to the right slot in the ufuncs type list.
    This is achieved by defining appropriate macros for the current platform
    and creating the correct function names via macro concatenation.
    juliantaylor committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    2f7c97c View commit details
    Browse the repository at this point in the history