3 ms·
The last time ULID was mentioned in a thread it got some flack for its "weird" generator local monotonicity property. But it's actually pretty useful, when you
by j-pb 6y ago
The last time ULID was mentioned in a thread it got some flack for its "weird" generator local monotonicity property.
But it's actually pretty useful, when you're building database indices, because it reduces the amount of entropy that your index has, and is therefore a big help for succinct data structures, which occupy space proportional to the information theoretic lower bound up to a log factor.
This can make the difference between a multi mb and multi gb index.
Obscure feature, big gain.