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

Don't zero non-real arrays #18690

Closed
wants to merge 1 commit into from
Closed

Don't zero non-real arrays #18690

wants to merge 1 commit into from

Commits on Apr 5, 2021

  1. Don't zero non-real arrays

    A minor difference in behaviour introduced by the rewrite of av_extend_guts
    in 440c185 and 399fef9 is that when the SV* array is first acquired, we
    now zero its contents regardless of whether that is needed - and add an
    extra label and 'goto' to do so.
    
    This commit restores the original behavious: for non-refcounted arrays such
    as @_ and pad arrays this is not needed, and for pads in particular we may
    hit this path many times during the course of a program.
    hvds committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    56705ed View commit details
    Browse the repository at this point in the history