4 ms·
You glossing over the ugly truth here. Structured data and mutable data don't respond well to the type of operations you're talking about, and that is most of
by hinkley 8y ago
You glossing over the ugly truth here. Structured data and mutable data don't respond well to the type of operations you're talking about, and that is most of the interesting data in most programs.
Most data requires random access to the middle, which is something compression is usually very bad at doing cheaply. You would have to leave boundary markers which eats into your size and speed advantage.
Updating a record will change its length, requiring you to reallocate and possibly rewrite subsequent values, or even the entire parent data structure. Imagine updating the Z coordinate of the 3rd element in an array of a million objects.
- gameswithgo 8y ago>Most data requires random access to the middle, In domains where people need speed they are pretty clever at arranging to not need that.