3 ms·
That sounds like the experience of writing Containerfiles; since steps are cached you want to pull the thing you are iterating on as far down as possible.
by franknord23 4mo ago
That sounds like the experience of writing Containerfiles; since steps are cached you want to pull the thing you are iterating on as far down as possible.
- gopher_space 4mo agoAll of this work has been done before in different contexts. Memory management with bigger blocks and weaker definitions that change whenever some grad student gets a bright idea.
- vidarh 4mo ago100%. Since you mention memory management: Generational GC is pretty much the same idea: Keep the stuff that's least likely to change an important property (liveness) together. Conceptually the underlying general idea is to sort things based on stability if you can avoid recomputing properties of the stable part.
- verdverm 4mo agoIt's even closer to prefix matching on super long strings by chunk