Oddbean new post about | logout
 Every time I need to load a large chunk of data into memory instead of streaming it and processing chunks of it at a time my brain starts buzzing from the code smell.

Also whenever I use blocking IO on a single threaded codebase 😱😱

My poor RAM. It should be caching files instead of buffering! 
 @59c6c59c streaming isn't always more efficient 😇 
 @59c6c59c the component that I've been debugging today is a streaming JSON parser. I was originally debugging something else but I got a test dataset in JSON and my attempts to use it to debug the original thing exposed a bunch of bugs in my JSON parser.