Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aweptimum
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
aweptimum
3y ago
it's a bit of a disingenuous example because it ignores the existence of table.remove, which removes an index and reshuffles the indices to maintain the array. you can also swap and pop using the magic of multi assignment to preserve i