Databases and search engines often store arrays of integers. In search engines, we have inverted indexes that map a query term to a list of document identifiers. This list of document identifiers can be seen as a sorted array of integers. In databases, indexes often work similarly: they map a column value to row identifiers. You also get arrays of integers in databases through dictionary coding: y
![Fast integer compression: decoding billions of integers per second](https://cdn-ak-scissors.b.st-hatena.com/image/square/e59c1e66f6113e2de78f3e26be91b34636d7d5d3/height=288;version=1;width=512/https%3A%2F%2Flemire.me%2Fimg%2Fportrait2018facebook.jpg)