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

add missing clamp function for IOBuffer #55424

Merged
merged 2 commits into from
Aug 9, 2024
Merged

add missing clamp function for IOBuffer #55424

merged 2 commits into from
Aug 9, 2024

Commits on Aug 8, 2024

  1. move clamp from math to intfuncs

    This is a more apt description, since it is not floating point related,
    and used earlier (such as in IOBuffer).
    
    Fixes #55279
    vtjnash committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1d7b036 View commit details
    Browse the repository at this point in the history
  2. copyuntil: reduce over-allocation to start

    This fits into a 32-byte allocation pool, saving up to 64 bytes when
    repeatedly reading small chunks of data (e.g. tokenizing a CSV file). In
    some local `@btime` measurements, this seems to take <10% more time
    across a range of output lengths.
    vtjnash committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    fc6047b View commit details
    Browse the repository at this point in the history