▲ | zxilly a day ago | |
Maybe using mmap would also save some memory, I'm not quite sure if this can be implemented in Python. | ||
▲ | itamarst a day ago | parent [-] | |
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. |