diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 00:50:57 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 00:50:57 -0600 |
| commit | d60c99985c1c4e058dd2de7e6272ef4d48a14686 (patch) | |
| tree | 4d258260dec2c1b999868253bf50193709848d9c /web/assets/git@git.abendless.com:/srv | |
| parent | 3abe682147f74104f1f1225e8c142b80018e17e7 (diff) | |
| download | zash-d60c99985c1c4e058dd2de7e6272ef4d48a14686.tar.gz | |
perf(pattern,printf): skip the class table on ASCII, a bare %s through vsnprintf
in_range() looked the two ends of `[a-z]` up in the alpha/digit tables to
get alphabet order. In ASCII the code order *is* the alphabet order, so
the compiler can take one comparison; the tables stay for EBCDIC.
convert() formatted a bare "%s" through the spec builder and vsnprintf(),
which pads, truncates and checks flags it was never given. Out it goes
straight to out_puts(); anything with a flag, width or precision still
takes the general path.
make check unchanged (126 passed, 1 skipped, known linux/i-dscomplete);
the whole suite under ASan+UBSan reports nothing.
Diffstat (limited to 'web/assets/git@git.abendless.com:/srv')
0 files changed, 0 insertions, 0 deletions
