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

[beta] backports #120352

Merged
merged 3 commits into from
Jan 27, 2024
Merged

[beta] backports #120352

merged 3 commits into from
Jan 27, 2024

Commits on Jan 25, 2024

  1. update internal ASCII art comment for vec specializations

    (cherry picked from commit b28a953)
    the8472 authored and cuviper committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    dde3897 View commit details
    Browse the repository at this point in the history
  2. remove alignment-changing in-place collect

    Currently stable users can't benefit from this because GlobaAlloc doesn't support
    alignment-changing realloc and neither do most posix allocators.
    So in practice it always results in an extra memcpy.
    
    (cherry picked from commit 85d1787)
    the8472 authored and cuviper committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    e55be1a View commit details
    Browse the repository at this point in the history
  3. fix: Drop guard was deallocating with the incorrect size

    InPlaceDstBufDrop holds onto the allocation before the shrinking happens
    which means it must deallocate the destination elements but the source
    allocation.
    
    (cherry picked from commit 5796b3c)
    the8472 authored and cuviper committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    73b36b1 View commit details
    Browse the repository at this point in the history