aboutsummaryrefslogtreecommitdiffstats
path: root/docs/research/006-problem-landscape.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 18:49:22 +0100
committereunhhu <[email protected]>2026-09-27 18:49:22 +0100
commitb469bdaee395a4c49b23d6b3a146ea31ef7c0959 (patch)
tree4daf45223e1170aec3642901666443a8f9861c3a /docs/research/006-problem-landscape.md
parent0d0f1fcdfc3b50dfc43c415607707174271f4835 (diff)
downloadpure-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/006-problem-landscape.md')
0 files changed, 0 insertions, 0 deletions