Comment on (In Python) Can you save an object that is in memory to disk and reload it at a later time?
UnfortunateShort@lemmy.world 2 weeks agoYou can stuff all the info into an object and use it this way, no problem. I just wanted to point out that this doesn’t have zero performance impact compared to what you currently have.
So (depending on how your OS caches files) you might not want to do this like twice in a lambda that you pass to an iterator over a huge slice or something.