Berkeley DB 4.5 available
Posted Sep 28, 2006 9:26 UTC (Thu) by
hawk (subscriber, #3195)
In reply to:
Berkeley DB 4.5 available by dark
Parent article:
Berkeley DB 4.5 available
It's obvious that if it does indeed store numbers as their string representation, that certainly is a big waste of space.
For instance, which is better use of 4 bytes, to be able to store numbers 0-9999 or 0-4294967295 (if we take unsigned integers as our example)?
(Or if you want really small numbers as your example, with one byte you get 0-9 vs 0-255.)
You do however have a point, but what I'd say is not that it's efficient, but rather that for many uses it may not matter that much that it's awfully inefficient.
(
Log in to post comments)