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 #1473

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Perf #1473

wants to merge 2 commits into from

Commits on May 6, 2024

  1. Annotate mbstowcs_nonfatal() with restrict

    The arguments to our mbrtowc(3) wrapper should not alias, since they
    also must not for mbrtowc(3).
    
    Might help some compilers optimizing the code.
    cgzones committed May 6, 2024
    Configuration menu
    Copy the full SHA
    a45cddb View commit details
    Browse the repository at this point in the history
  2. Linux: use fast integer parsing for /proc/<pid>/stat

    /proc/<pid>/stat is parsed for every displayed process on every
    iteration containing several numbers to parse.  Use out own
    implementations since strto(u)l(3) came up during profiling.
    cgzones committed May 6, 2024
    Configuration menu
    Copy the full SHA
    7901d3a View commit details
    Browse the repository at this point in the history