Found an article that details it again since it was a fun read at the time. Looks like it was 10MB json file and the method to read the lines used the expensive length function you mentioned. It also had other simple optimizations too.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: