A method and system of sparse table compaction is disclosed. A repeating
data pattern may be detected in a large data structure, identifying the
large data structure as a sparse table. The large data structure is
stored in a virtual memory as a series of virtual data pages. Multiple
repeating virtual data pages may be mapped to a single physical data page
on a multiple-to-one basis. Unique virtual data page may be mapped to a
unique physical data page on a one-to-one basis.