News for hackers. Stuff that matters.
Re:Building data structures that are smaller than an array a... by alexgartrell on Thursday March 01, 2012 @12:13PM (#3652971)
I agree with your point 100%, but if they're sorted you could probably just store the deltas an then use something like the varints that google protocol buffers to compress those deltas down from 32 bits (with a thousand of them, you are guaranteed that some of the deltas will be less than 22 bits because 1000 * 2^22 > 2^32).

With custom compression, where there's a will there's generally a way :)

There are no comments on this comment yet.