John Christensen (JohnnyC1423)
01/23/2025, 10:40 PMdo you use some graph algorithm to figure out what needs to be recomputed, or do you keep all intermediate values in the wires in memory? I imagine the latter would get pretty heavy pretty fast.Currently I've gone with the simple/naive approach of just keeping everything in memory. This is nice because any long-running nodes at the top of the network don't need to recompute when their descendants need to re-run. This does mean that you can run out of memory quickly if you are dealing with large pieces of data though. I'm not sure what my long-term solution is yet. Currently my thoughts are to start dropping/caching-to-disk large pieces of data as memory usage to get too high, and recompute when they are needed again. In the meantime, it's not too bad for the primary use cases I have in mind to simply be content with working with a subset of data that fits into memory.
John Christensen (JohnnyC1423)
01/23/2025, 10:42 PMKarl Toby Rosenberg
01/24/2025, 3:31 AMKonrad Hinsen
01/24/2025, 6:37 AM