Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
silenz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
silenz
11y ago
It would still be faster with a two layer approach. Check 100 000 entries (4 comparisons each) - > filter out 1% to do expensive calculations on. Vs Check 25 cities (4 comparisons each) - > filter out 1/25 Do another easy run on