{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T15:44:48Z","timestamp":1787240688843,"version":"build-2736575974"},"reference-count":33,"publisher":"Springer Science and Business Media LLC","issue":"9","license":[{"start":{"date-parts":[[2022,6,29]],"date-time":"2022-06-29T00:00:00Z","timestamp":1656460800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2022,6,29]],"date-time":"2022-06-29T00:00:00Z","timestamp":1656460800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100001691","name":"Japan Society for the Promotion of Science","doi-asserted-by":"publisher","award":["JP21H05847"],"award-info":[{"award-number":["JP21H05847"]}],"id":[{"id":"10.13039\/501100001691","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001691","name":"Japan Society for the Promotion of Science","doi-asserted-by":"publisher","award":["JP21K17701"],"award-info":[{"award-number":["JP21K17701"]}],"id":[{"id":"10.13039\/501100001691","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Algorithmica"],"published-print":{"date-parts":[[2022,9]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Compact hash tables store a set\n                    <jats:italic>S<\/jats:italic>\n                    of\n                    <jats:italic>n<\/jats:italic>\n                    key-value pairs, where the keys are from the universe\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$U = \\{0,\\ldots ,u-1\\}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mrow>\n                            <mml:mi>U<\/mml:mi>\n                            <mml:mo>=<\/mml:mo>\n                            <mml:mo>{<\/mml:mo>\n                            <mml:mn>0<\/mml:mn>\n                            <mml:mo>,<\/mml:mo>\n                            <mml:mo>\u2026<\/mml:mo>\n                            <mml:mo>,<\/mml:mo>\n                            <mml:mi>u<\/mml:mi>\n                            <mml:mo>-<\/mml:mo>\n                            <mml:mn>1<\/mml:mn>\n                            <mml:mo>}<\/mml:mo>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , and the values are\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$v$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mi>v<\/mml:mi>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    -bit integers, in close to\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$${{\\mathcal {B}}(u, n)} + nv$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mrow>\n                            <mml:mrow>\n                              <mml:mi>B<\/mml:mi>\n                              <mml:mo>(<\/mml:mo>\n                              <mml:mi>u<\/mml:mi>\n                              <mml:mo>,<\/mml:mo>\n                              <mml:mi>n<\/mml:mi>\n                              <mml:mo>)<\/mml:mo>\n                            <\/mml:mrow>\n                            <mml:mo>+<\/mml:mo>\n                            <mml:mi>n<\/mml:mi>\n                            <mml:mi>v<\/mml:mi>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    bits of space, where\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$${{\\mathcal {B}}(u, n)} = \\log _2 {{u} \\atopwithdelims (){n}}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mrow>\n                            <mml:mrow>\n                              <mml:mi>B<\/mml:mi>\n                              <mml:mo>(<\/mml:mo>\n                              <mml:mi>u<\/mml:mi>\n                              <mml:mo>,<\/mml:mo>\n                              <mml:mi>n<\/mml:mi>\n                              <mml:mo>)<\/mml:mo>\n                            <\/mml:mrow>\n                            <mml:mo>=<\/mml:mo>\n                            <mml:msub>\n                              <mml:mo>log<\/mml:mo>\n                              <mml:mn>2<\/mml:mn>\n                            <\/mml:msub>\n                            <mml:mfenced>\n                              <mml:mfrac>\n                                <mml:mi>u<\/mml:mi>\n                                <mml:mi>n<\/mml:mi>\n                              <\/mml:mfrac>\n                            <\/mml:mfenced>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    is the information-theoretic lower bound for representing the set of keys in\n                    <jats:italic>S<\/jats:italic>\n                    , and support operations insert, delete and lookup on\n                    <jats:italic>S<\/jats:italic>\n                    . Compact hash tables have received significant attention in recent years, and approaches dating back to Cleary [IEEE T. Comput, 1984], as well as more recent ones have been implemented and used in a number of applications. However, the wins on space usage of these approaches are outweighed by their slowness relative to conventional hash tables. In this paper, we demonstrate that compact hash tables based upon a simple idea of bucketing practically outperform existing compact hash table implementations in terms of memory usage and construction time, and existing fast hash table implementations in terms of memory usage (and sometimes also in terms of construction time), while having competitive query times. A related notion is that of a compact\n                    <jats:italic>hash ID map<\/jats:italic>\n                    , which stores a set\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$${\\hat{S}}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mover>\n                            <mml:mi>S<\/mml:mi>\n                            <mml:mo>^<\/mml:mo>\n                          <\/mml:mover>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    of\n                    <jats:italic>n<\/jats:italic>\n                    keys from\n                    <jats:italic>U<\/jats:italic>\n                    , and implicitly associates each key in\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$${\\hat{S}}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mover>\n                            <mml:mi>S<\/mml:mi>\n                            <mml:mo>^<\/mml:mo>\n                          <\/mml:mover>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    with a unique value (its ID), chosen by the data structure itself, which is an integer of magnitude\n                    <jats:italic>O<\/jats:italic>\n                    (\n                    <jats:italic>n<\/jats:italic>\n                    ), and supports inserts and lookups on\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$${\\hat{S}}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mover>\n                            <mml:mi>S<\/mml:mi>\n                            <mml:mo>^<\/mml:mo>\n                          <\/mml:mover>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , while using space close to\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$${{\\mathcal {B}}(u,n)}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mrow>\n                            <mml:mi>B<\/mml:mi>\n                            <mml:mo>(<\/mml:mo>\n                            <mml:mi>u<\/mml:mi>\n                            <mml:mo>,<\/mml:mo>\n                            <mml:mi>n<\/mml:mi>\n                            <mml:mo>)<\/mml:mo>\n                          <\/mml:mrow>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    bits. One of our approaches is suitable for use as a compact hash ID map.\n                  <\/jats:p>","DOI":"10.1007\/s00453-022-00996-y","type":"journal-article","created":{"date-parts":[[2022,6,29]],"date-time":"2022-06-29T11:09:09Z","timestamp":1656500949000},"page":"2735-2766","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":5,"title":["Fast and Simple Compact Hashing via Bucketing"],"prefix":"10.1007","volume":"84","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8721-4444","authenticated-orcid":false,"given":"Dominik","family":"K\u00f6ppl","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Simon J.","family":"Puglisi","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rajeev","family":"Raman","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2022,6,29]]},"reference":[{"key":"996_CR1","doi-asserted-by":"crossref","unstructured":"Arbitman, Y., Naor, M., Segev, G.: Backyard cuckoo hashing: constant worst-case operations with a succinct representation. In: Proceedings of FOCS, pp. 787\u2013796 (2010)","DOI":"10.1109\/FOCS.2010.80"},{"key":"996_CR2","unstructured":"Blandford, D.K., Blelloch, G.E.: Compact representations of ordered sets. In: Proceedings of SODA, pp. 11\u201319 (2004)"},{"issue":"2","key":"996_CR3","doi-asserted-by":"publisher","first-page":"17:1","DOI":"10.1145\/1361192.1361194","volume":"4","author":"DK Blandford","year":"2008","unstructured":"Blandford, D.K., Blelloch, G.E.: Compact dictionaries for variable-length keys and data with applications. ACM Trans. Algorithms 4(2), 17:1-17:25 (2008)","journal-title":"ACM Trans. Algorithms"},{"issue":"5","key":"996_CR4","doi-asserted-by":"publisher","first-page":"1627","DOI":"10.1137\/S0097539795294165","volume":"28","author":"A Brodnik","year":"1999","unstructured":"Brodnik, A., Munro, J.I.: Membership in constant time and almost-minimum space. SIAM J. Comput. 28(5), 1627\u20131640 (1999)","journal-title":"SIAM J. Comput."},{"key":"996_CR5","unstructured":"Carlini, P., Edwards, P., Gregor, D., Kosnik, B., Matani, D., Merrill, J., Mitchell, M., Myers, N., Natter, F., Olsson, S., Rus, S., Tavory, A., Wakely J.: The GNU C++ Library Manual. FSF, Johannes Singler (2018)"},{"issue":"9","key":"996_CR6","doi-asserted-by":"publisher","first-page":"828","DOI":"10.1109\/TC.1984.1676499","volume":"33","author":"JG Cleary","year":"1984","unstructured":"Cleary, J.G.: Compact hash tables using bidirectional linear probing. IEEE Trans. Comput. 33(9), 828\u2013834 (1984)","journal-title":"IEEE Trans. Comput."},{"key":"996_CR7","volume-title":"Introduction to Algorithms","author":"TH Cormen","year":"2009","unstructured":"Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms. MIT Press, Cambridge (2009)"},{"issue":"3","key":"996_CR8","doi-asserted-by":"publisher","first-page":"277","DOI":"10.1002\/spe.4380230305","volume":"23","author":"JJ Darragh","year":"1993","unstructured":"Darragh, J.J., Cleary, J.G., Witten, I.H.: Bonsai: a compact representation of trees. Softw. Pract. Exper. 23(3), 277\u2013291 (1993)","journal-title":"Softw. Pract. Exper."},{"key":"996_CR9","doi-asserted-by":"crossref","unstructured":"Demaine, E.D., Meyer auf der Heide, F., Pagh, R., Patrascu, M.: De dictionariis dynamicis pauco spatio utentibus (lat. on dynamic dictionaries using little space). In: Proceedings of LATIN, volume 3887 of LNCS, pp. 349\u2013361 (2006)","DOI":"10.1007\/11682462_34"},{"issue":"2","key":"996_CR10","doi-asserted-by":"publisher","first-page":"246","DOI":"10.1145\/321812.321820","volume":"21","author":"P Elias","year":"1974","unstructured":"Elias, P.: Efficient storage and retrieval by content and address of static files. J. ACM 21(2), 246\u2013260 (1974)","journal-title":"J. ACM"},{"key":"996_CR11","doi-asserted-by":"crossref","unstructured":"Fischer, J., K\u00f6ppl, D.: Practical evaluation of Lempel-Ziv-78 and Lempel-Ziv-Welch tries. In: Proceedings of SPIRE, volume 10508 of LNCS, pp. 191\u2013207 (2017)","DOI":"10.1007\/978-3-319-67428-5_16"},{"issue":"2","key":"996_CR12","doi-asserted-by":"publisher","first-page":"229","DOI":"10.1007\/s00224-004-1195-x","volume":"38","author":"D Fotakis","year":"2005","unstructured":"Fotakis, D., Pagh, R., Sanders, P., Spirakis, P.G.: Space efficient hash tables with worst case constant access time. Theory Comput. Syst. 38(2), 229\u2013248 (2005)","journal-title":"Theory Comput. Syst."},{"key":"996_CR13","doi-asserted-by":"crossref","unstructured":"Jansson, J., Sadakane, K., Sung, W.-K.: CRAM: compressed random access memory. In: Proceedings of ICALP, volume 7391 of LNCS, pp. 510\u2013521 (2012)","DOI":"10.1007\/978-3-642-31594-7_43"},{"issue":"1","key":"996_CR14","first-page":"1.13:2","volume":"25","author":"S Kanda","year":"2020","unstructured":"Kanda, S., K\u00f6ppl, D., Tabei, Y., Morita, K., Fuketa, M.: Dynamic path-decomposed tries. ACM JEA 25(1), 1.13:2-1.13:28 (2020)","journal-title":"ACM JEA"},{"key":"996_CR15","volume-title":"The Art of Computer Programming, Volume 4, Fascicle 1: Bitwise Tricks & Techniques; Binary Decision Diagrams","author":"DE Knuth","year":"2009","unstructured":"Knuth, D.E.: The Art of Computer Programming, Volume 4, Fascicle 1: Bitwise Tricks & Techniques; Binary Decision Diagrams, 12th edn. Addison-Wesley, Boston (2009)","edition":"12"},{"key":"996_CR16","unstructured":"K\u00f6ppl, D., Puglisi, S.J., Raman, R.: Fast and simple compact hashing via bucketing. In: Proceedings of SEA, volume 160 of LIPIcs, pp. 7:1\u20137:14 (2020)"},{"key":"996_CR17","volume-title":"Power and Performance: Software Analysis and Optimization","author":"J Kukunas","year":"2015","unstructured":"Kukunas, J.: Power and Performance: Software Analysis and Optimization. Elsevier, Amsterdam (2015)"},{"issue":"8","key":"996_CR18","doi-asserted-by":"publisher","first-page":"3162","DOI":"10.1007\/s00453-019-00572-x","volume":"81","author":"T Maier","year":"2019","unstructured":"Maier, T., Sanders, P., Walzer, S.: Dynamic space efficient hashing. Algorithmica 81(8), 3162\u20133185 (2019)","journal-title":"Algorithmica"},{"issue":"2","key":"996_CR19","doi-asserted-by":"publisher","first-page":"183","DOI":"10.1007\/BF02522825","volume":"17","author":"K Mehlhorn","year":"1997","unstructured":"Mehlhorn, K., Sundar, R., Uhrig, C.: Maintaining dynamic sequences under equality tests in polylogarithmic time. Algorithmica 17(2), 183\u2013198 (1997)","journal-title":"Algorithmica"},{"issue":"2","key":"996_CR20","doi-asserted-by":"publisher","first-page":"353","DOI":"10.1137\/S0097539700369909","volume":"31","author":"R Pagh","year":"2001","unstructured":"Pagh, R.: Low redundancy in static dictionaries with constant query time. SIAM J. Comput. 31(2), 353\u2013363 (2001)","journal-title":"SIAM J. Comput."},{"issue":"2","key":"996_CR21","doi-asserted-by":"publisher","first-page":"130","DOI":"10.1147\/rd.12.0130","volume":"1","author":"WW Peterson","year":"1957","unstructured":"Peterson, W.W.: Addressing for random-access storage. IBM J. Res. Dev. 1(2), 130\u2013146 (1957)","journal-title":"IBM J. Res. Dev."},{"key":"996_CR22","doi-asserted-by":"crossref","unstructured":"Poyias, A., Puglisi, S.J., Raman, R.: Compact dynamic rewritable (CDRW) arrays. In: Proceedings of ALENEX, pp. 109\u2013119 (2017)","DOI":"10.1137\/1.9781611974768.9"},{"issue":"8","key":"996_CR23","doi-asserted-by":"publisher","first-page":"1257","DOI":"10.1142\/S0129054118430025","volume":"29","author":"A Poyias","year":"2018","unstructured":"Poyias, A., Puglisi, S.J., Raman, R.: m-Bonsai: A practical compact dynamic trie. Int. J. Found. Comput. Sci. 29(8), 1257\u20131278 (2018)","journal-title":"Int. J. Found. Comput. Sci."},{"key":"996_CR24","doi-asserted-by":"crossref","unstructured":"Raab, M., Steger, A.: \u201cBalls into Bins\u201d-A simple and tight analysis. In: Proceedings of RANDOM, volume 1518 of LNCS, pp. 159\u2013170 (1998)","DOI":"10.1007\/3-540-49543-6_13"},{"key":"996_CR25","series-title":"Cambridge International Series on Parallel Computation","volume-title":"Randomized Algorithms","author":"P Raghavan","year":"1995","unstructured":"Raghavan, P., Motwani, R.: Randomized Algorithms. Cambridge International Series on Parallel Computation, Cambridge University Press, Cambridge (1995)"},{"key":"996_CR26","doi-asserted-by":"crossref","unstructured":"Raman, R., Rao, S.S.: Succinct dynamic dictionaries and trees. In: Proceedings of ICALP, volume 2719 of LNCS, pp. 357\u2013368 (2003)","DOI":"10.1007\/3-540-45061-0_30"},{"key":"996_CR27","doi-asserted-by":"crossref","unstructured":"Robinson, J.T., Devarakonda, M.V.: Data cache management using frequency-based replacement. In: Proceedings of SIGMETRICS, pp. 134\u2013142 (1990)","DOI":"10.1145\/98460.98523"},{"key":"996_CR28","doi-asserted-by":"crossref","unstructured":"Ross, K.A.: Efficient hash probes on modern processors. In: Proceedings of ICDE, pp. 1297\u20131301 (2007)","DOI":"10.1109\/ICDE.2007.368997"},{"key":"996_CR29","doi-asserted-by":"crossref","unstructured":"Schlegel, B., Gemulla, R., Lehner, W.: Memory-efficient frequent-itemset mining. In: Proceedings of EDBT, pp. 461\u2013472 (2011)","DOI":"10.1145\/1951365.1951420"},{"key":"996_CR30","doi-asserted-by":"crossref","unstructured":"Steele, G.L., Jr., Lea, D., Flood, C.H.: Fast splittable pseudorandom number generators. In: Proceedings of OOPSLA, pp. 453\u2013472 (2014)","DOI":"10.1145\/2714064.2660195"},{"issue":"7","key":"996_CR31","doi-asserted-by":"publisher","first-page":"94","DOI":"10.1145\/3068772","volume":"60","author":"M Thorup","year":"2017","unstructured":"Thorup, M.: Fast and powerful hashing using tabulation. Commun. ACM 60(7), 94\u2013101 (2017)","journal-title":"Commun. ACM"},{"key":"996_CR32","doi-asserted-by":"crossref","unstructured":"Vigna,S.: Broadword implementation of rank\/select queries. In: Proceedings of WEA, volume 5038 of LNCS, pp. 154\u2013168 (2008)","DOI":"10.1007\/978-3-540-68552-4_12"},{"key":"996_CR33","doi-asserted-by":"crossref","unstructured":"Zhou, D., Andersen, D.G., Kaminsky, M.: Space-efficient, high-performance rank and select structures on uncompressed bit sequences. In: Proceedings of SEA, volume 7933 of LNCS, pp. 151\u2013163 (2013)","DOI":"10.1007\/978-3-642-38527-8_15"}],"container-title":["Algorithmica"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00453-022-00996-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00453-022-00996-y\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00453-022-00996-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,8,12]],"date-time":"2022-08-12T10:16:05Z","timestamp":1660299365000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s00453-022-00996-y"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,6,29]]},"references-count":33,"journal-issue":{"issue":"9","published-print":{"date-parts":[[2022,9]]}},"alternative-id":["996"],"URL":"https:\/\/doi.org\/10.1007\/s00453-022-00996-y","relation":{},"ISSN":["0178-4617","1432-0541"],"issn-type":[{"value":"0178-4617","type":"print"},{"value":"1432-0541","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,6,29]]},"assertion":[{"value":"2 September 2020","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"3 April 2022","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"29 June 2022","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}