This should improve memory consumption and cache locality a bit because we are wasting space on padding bytes at the moment. It should also enable us to bulk-persist parts or all of the graph to disk at once instead of dealing with each value separately.