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

Tweak the Printer code in runtime for smaller code #8023

Merged
merged 7 commits into from
Jan 22, 2024

Commits on Jan 4, 2024

  1. Tweak the Printer code in runtime for smaller code

    TL;DR: template expansion meant that we had more replicated code than expected from the inline expansion of code in Printer and friends. Restructured and added NEVER_INLINE to try to make the call sites as small as possible. It's a modest code-size savings but nonzero... e.g., the linux-x86-64 .o output from correct_cross_compilation drops from 164280 bytes to 162936 bytes.
    steven-johnson committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    3c26ad1 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Update printer.h

    steven-johnson committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    581129f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Configuration menu
    Copy the full SHA
    f45bcb4 View commit details
    Browse the repository at this point in the history
  2. debug

    steven-johnson committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    c5bf3b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    260bb12 View commit details
    Browse the repository at this point in the history
  4. Update printer.h

    steven-johnson committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0f3bb5f View commit details
    Browse the repository at this point in the history
  5. fixes

    steven-johnson committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    3848a53 View commit details
    Browse the repository at this point in the history