DEV Community

Discussion on: De-throning the List: Part Deux

 
robinheghan profile image
Robin Heggelund Hansen

Different use cases. The thing you linked to will have horrible write performance for large arrays.

Thread Thread
 
carstenk_dev profile image
Carsten • Edited

that's probably why there are the warnings at the very top ;)

if you want performance then probably finger-tree approaches (pursuit.purescript.org/packages/pu... ) are sensible ... it of course all depends on what you are trying to do

Thread Thread
 
robinheghan profile image
Robin Heggelund Hansen

Finger trees are cool, but no replacement for a proper immutable array implementation, and they’re not general purpose enough to be the default.