@inbook {IOPORT.05825336, author = {Barbay, J\'er\'emy and Gagie, Travis and Navarro, Gonzalo and Nekrich, Yakov}, title = {Alphabet partitioning for compressed rank/select and applications.}, year = {2010}, booktitle = {Algorithms and computation. 21st international symposium, ISAAC 2010, Jeju, Korea, December 15--17, 2010. Proceedings, Part II}, isbn = {978-3-642-17513-8}, pages = {315-326}, publisher = {Berlin: Springer}, doi = {10.1007/978-3-642-17514-5_27}, abstract = {Summary: We present a data structure that stores a string $s[1..n]$ over the alphabet $[1..\sigma ]$ in $nH _{0}(s) + o(n)(H _{0}(s) + 1)$ bits, where $H _{0}(s)$ is the zero-order entropy of $s$. This data structure supports the queries access and rank in time $({\mathcal O}{{\lg \lg}\sigma})$, and the select query in constant time. This result improves on previously known data structures using $nH_0(s)+o(n\lg\sigma)$ bits, where on highly compressible instances the redundancy $o(n\lg\sigma)$ cease to be negligible compared to the $nH _{0}(s)$ bits that encode the data. The technique is based on combining previous results through an ingenious partitioning of the alphabet, and practical enough to be implementable. It applies not only to strings, but also to several other compact data structures. For example, we achieve (i) faster search times and lower redundancy for the smallest existing full-text self-index; (ii) compressed permutations $\pi $ with times for $\pi ()$ and $\pi ^{ - 1}()$ improved to log-logarithmic; and (iii) the first compressed representation of dynamic collections of disjoint sets.}, identifier = {05825336}, }