2 ms·
You don’t count to thousand looking for: - replace all occurences, - remove n-th element, - binary search for an item, - sort an array without implicit stri
by wruza 7y ago
You don’t count to thousand looking for:
- replace all occurences,
- remove n-th element,
- binary search for an item,
- sort an array without implicit string coercion
in a good stdlib. Lua is explicitly minimalist, so it is not a good example here.