Hacker News new | ask | show | jobs
by frsyuki 5159 days ago
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.
1 comments

sprintf tends to be a faster path than "build tree, render down to text".
Both XML and JSON can be streamed. No tree building necessary.