logoalt Hacker News

anematodeyesterday at 6:44 PM0 repliesview on HN

If you're not doing recursion, I prefer using an appropriately sized thread_local buffer in this scenario. Saves you the allocation and does the bookkeeping of having one per thread