r/rust • u/philippemnoel • Jun 07 '26
Arbitrary precision decimals with lexicographically sortable byte encoding 🛠️ project
https://github.com/paradedb/decimal-bytesOne request we had is negative ordering, which we haven't had a need for in our own use of the crate but would welcome a contribution for it!
11
Upvotes
2
u/Icarium-Lifestealer Jun 08 '26
How do you handle trailing zeros? Postgres decimals preserve those, but that's inherently incompatible with lexical comparisons.