Slide 23
Slide 23 text
A problem:
Q: Won’t this model eat up memory?
A: Not as much as you would think but Yes.
Since every object is immutable, it can be made
persistent. ∴ a new state would require a lot less space
than a full-copy. However, memory usage grows linearly
over time.
A more compact representation is needed.