@mrt181 @mhoye You'd think so, but in my experience the garbage collection on su...
SlightlyCyberpunk @admin@mastodon.slightlycyberpunk.com
@mrt181 @mhoye You'd think so, but in my experience the garbage collection on such objects frequently fails to operate equally on both groups. So naively pulling the same index, even after sorting, is gonna give you a segfault when you eventually pull two objects of totally different types.
That's why I store my kitchen equipment in a hash map.