Hacker News new | ask | show | jobs
by kazagistar 4706 days ago
Pity they used ArrayList, it is kinda a shitty data type for a lot of use cases. I would say that something like the Lua "map" (essentially, a resizing associative array with some optimization to make array-like access efficient) is more optimal as a "use this for everything" data type, due to greater versatility.