diff options
| author | eunhhu <[email protected]> | 2026-09-27 18:49:22 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-27 18:49:22 +0100 |
| commit | b469bdaee395a4c49b23d6b3a146ea31ef7c0959 (patch) | |
| tree | 4daf45223e1170aec3642901666443a8f9861c3a /docs/research/003-live-rules.md | |
| parent | 0d0f1fcdfc3b50dfc43c415607707174271f4835 (diff) | |
| download | pure-b469bdaee395a4c49b23d6b3a146ea31ef7c0959.tar.gz pure-b469bdaee395a4c49b23d6b3a146ea31ef7c0959.zip | |
Write an answer's head without printf
Three snprintf calls a response (the head, its ETag and a delivery's
batch size) spent a sixth of a small read's user time in printf's
format scanning. The head is now written part by part, the same bytes
as before, clipped at the end of its buffer where snprintf's would-be
length could have sent bytes past it.
Diffstat (limited to 'docs/research/003-live-rules.md')
0 files changed, 0 insertions, 0 deletions
