Hacker News new | ask | show | jobs
by zxilly 398 days ago
Maybe using mmap would also save some memory, I'm not quite sure if this can be implemented in Python.
1 comments

Once you switch to ijson it will not save any memory, no, because ijson essentially uses zero memory for the parsing. You're just left with the in-memory representation.