3 ms·
Maybe using mmap would also save some memory, I'm not quite sure if this can be implemented in Python.
by zxilly 1y ago
Maybe using mmap would also save some memory, I'm not quite sure if this can be implemented in Python.
- itamarst 1y agoOnce 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.