Hacker News new | ask | show | jobs
by doboyy 2481 days ago
Don't do allocations in the call until the API becomes annoying and unpleasant to use. Also weighted upon the domain and performance implications of the particular API

By nature of being a buffer means it can probably be used in subsequent calls. You dont need to read everything all in one go