1. A computer system comprising: a data storage medium; a data storage controller coupled to the data storage medium; and a mapping table that includes a plurality of entries, each of the mapping table entries comprising a tuple including a key; wherein the data storage controller is configured to encode each tuple in the mapping table using a variable length encoding.