On Thu, 8 May 2014, Arne Goedeke wrote:

I have a branch lying around which does some de-inlining in sprintf. It
reduces code size by half. There was no real speed advantage, but I only
ran some micro benchmarks on i7, so I assume there was no cache pressure.

I pushed those sprintf de-inlining changes into a new branch
'arne/slim'. That patch alone makes sprintf about 75% smaller.
During my yesterday train ride I wrote another patch that changes the
generation of sscanf functions. Instead of having one funciton for each
strings width of both the format and the input, it uses the PCHARP
accessor functions for the format. I have not run any benchmarks to see
how much slower it is, but it saves about 60% of code size there.

arne
  • Re:... Bill Welliver
    • ... Stephen R. van den Berg
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Stephen R. van den Berg
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Arne Goedeke
    • ... Stephen R. van den Berg
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Arne Goedeke
    • ... Arne Goedeke
    • ... Arne Goedeke
    • ... Arne Goedeke
    • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • ... Arne Goedeke
    • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • ... Arne Goedeke
    • ... Arne Goedeke
    • ... Stephen R. van den Berg
    • ... Stephen R. van den Berg
    • ... Arne Goedeke

Reply via email to