Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
optimiz3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
481.
▲
by
optimiz3
14y ago
If you use proto-bufs, it means you already have a system for internal auto-schematization. Why not pack all the fields together and use a bit-vector header to signify which fields are present and which fields have default values? I'd LOVE
482.
▲
by
optimiz3
14y ago
My company uses MongoDB. Our biggest pain points are: 1. MongoDB has massive storage overhead per field due to the BSON format. Even if you use single character field names, you're still looking at space wasted on null terminators. 32bit f
483.
▲
by
optimiz3
14y ago
This would be a perfect opportunity for a White House pardon.
484.
▲
by
optimiz3
14y ago
As others have mentioned, you need 7 bits per number (on average) if you store the numbers as deltas in sorted form. So 7M bits out of 8388608 bits yields 1.32MB of working set. One could implement a simple block allocator, where each block