Comment on (In Python) Can you save an object that is in memory to disk and reload it at a later time?

<- View Parent
spacemanspiffy@lemmy.world ⁨3⁩ ⁨weeks⁩ ago

My idea would be to load one larger file one time and not parse anything, and keep it in memory the entire time. Versus what it does now which is load the files and parse them and keep everything in memory.

But three people responding here so far with “pickle” so maybe that is the way.

source
Sort:hotnewtop