Y
Hacker News
new
|
ask
|
show
|
jobs
by
daveguy
3810 days ago
M49 (for the 49th mersenne prime) fits in 2 bytes! Or even better just 49! 6 bits! Assuming your decompression algorithm is optimized for mersenne primes. :)
2 comments
alasdair_
3810 days ago
It can fit in a single bit if your algorithm is optimized for "primes that are equal to M49" :)
link
lakofsth
3810 days ago
You could optimize the single bit away by assuming that there would be a bit.
link
ekimekim
3810 days ago
http://www.dangermouse.net/esoteric/lenpeg.html
link
graylights
3810 days ago
Great, I've just discovered the 50th mersenne prime, M50. Decompression takes a lot of time.
link