3 ms·
You're right in a sense, it generates more garbage than mutable objects because there is more data available than with mutable objects. In most cases it won't m
by STRML 13y ago
You're right in a sense, it generates more garbage than mutable objects because there is more data available than with mutable objects. In most cases it won't matter. Of course if you're holding a global interface undo queue for the lifetime of your page, and your page changes often, you might run into memory issues. But Clojure's immutable datastructures work as well - or better - than you'd expect.