Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
frsyuki
· 14y ago · 0 comments
Spitting out sprintfs means parsing texts. JSON might be slow since it's text, but binary based formats should be faster especially the log includes many integers.
Comments
[–]
jacques_chester
14y ago
sprintf tends to be a faster path than "build tree, render down to text".
[–]
deno
14y ago
Both XML and JSON can be streamed. No tree building necessary.