Skip to content

Commit

Permalink
mprintf: overhaul
Browse files Browse the repository at this point in the history
In a test case using lots of snprintf() calls using many commonly used
%-codes per call, this version is around 30% faster than previous
version.

It also fixes the #12561 bug which made it not behave correcly when
given unknown %-sequences. Fixing that flaw required a different take on
the problem, which resulted in the new two-arrays model.

Fixes #12561
  • Loading branch information
bagder committed Dec 20, 2023
1 parent 217111e commit ed7e012
Showing 1 changed file with 529 additions and 477 deletions.

0 comments on commit ed7e012

Please sign in to comment.