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

Use copy_nonoverlapping instead of slice::copy_from #1448

Merged
merged 1 commit into from
Jun 26, 2024

Commits on Jun 26, 2024

  1. Use copy_nonoverlapping instead of slice::copy_from

    In doing so, we eliminate a potential panic path. Although I was
    not able to observe panic paths emitted in toy examples, they might
    be emitted in complex examples in which the optimizer is low on
    gas. Regardless, I expect this change will ease our future adoption
    of call-graph analysis techniques of potential panic paths.
    
    Ref #200 (comment)
    jswrenn committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    bfea2dc View commit details
    Browse the repository at this point in the history