rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.37k stars 194 forks source link

Structural sharing vs shallow copy #163

Closed alisman closed 7 years ago

alisman commented 7 years ago

I'm having trouble understanding the difference and the performance implications (especially in an app with a large amount of data in the frontend). Can anyone advise? Sorry if this isn't the right forum. Not sure where else to ask as this is an esoteric issue.

rtfeldman commented 7 years ago

Sorry if this isn't the right forum. Not sure where else to ask as this is an esoteric issue.

Sorry, but it's not the right forum. 🙂

I'd try StackOverflow!