Re:Show HN: Merchant.js, a state framework for creating idle...
by fqsxr on Friday December 01, 2017 @08:50AM
(#15823759)
I like immutable objects. But my worry is it will lead to lots of small objects being created just to get destroyed right away, putting lots of pressure on GC. I wonder if this is a known issue in the immutable js community.
[ Parent
| on HN ]
Re:Show HN: Merchant.js, a state framework for creating idle...
by awestroke on Friday December 01, 2017 @10:02AM
(#15824165)
When you insert into an immutablejs collection, a copy is not made. It's reusing a reference to the old object. That means iteration is a bit slower while insertion and similar operations is faster, which is an acceptable tradeoff
Re:Show HN: Merchant.js, a state framework for creating idle...
by sr464 on Friday December 01, 2017 @12:14PM
(#15825300)
GC?
Re:Show HN: Merchant.js, a state framework for creating idle...
by fiatjaf on Friday December 01, 2017 @06:05PM
(#15828560)
GameCube
Re:Show HN: Merchant.js, a state framework for creating idle...
by flaque on Friday December 01, 2017 @12:31PM
(#15825498)
Garbage Collection
Re:Show HN: Merchant.js, a state framework for creating idle...
by romuloab42 on Friday December 01, 2017 @12:44PM
(#15825620)
Garbage Collector