Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
random4726427
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
random4726427
5y ago
S2 cell IDs are usually uint64, so the Ruby version looks wrong. If you cast that int64 to uint64 you get the same value as the python version. Level 1 IDs look like large random numbers in decimal, but when viewed in binary they have many