Hacker News new | ask | show | jobs
by kaba0 1943 days ago
Delete on a not-too-long arrays is pretty cheap. Probably even better than iterating over a linked list, but of course it depends on the exact application.