|
|
|
|
|
by PaulHoule
1544 days ago
|
|
The "big object" problem is solved by the persistent data structures in Clojure https://clojure.org/reference/data_structures These are a little slower than conventional data structures (e.g. Java Collections) but are much more efficient than copying the whole structure every time you want to "change" it. The garbage collector picks up behind you so you're not wasting unbounded space on unreachable versions of the data structures. |
|