The dirty flag behavioral pattern allows you to avoid expensive operations that would just need to be done again anyway.
See All 304 Episodes of "Take Up Code"