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

perf(decode): optimize Vec alloc/resize #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 6, 2022

  1. perf(decode): optimize Vec alloc/resize

    Avoid calloc overhead of initializing buffer we'll write into
    
    Unfortunately requires unsafe Vec::set_len so we can get a mutable ref to the uninit portion of the Vec's buffer
    AaronO committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    a5fce60 View commit details
    Browse the repository at this point in the history