{
 "article": "https://w.n14n.dev/hash-tables/",
 "title": "Hash tables",
 "how_to_cite": "Cite the source of a claim, not this article. The article is an AI-written summary.",
 "how_claims_link": "A section lists the claims of the sources it cites, so a claim supports the section, not one sentence.",
 "verified_values": {
  "verified": "a verifier found the quote on the source page",
  "rejected": "a verifier read the source page and did not find the quote, or found it does not support the claim",
  "blocked": "a verifier could not open the source page, so the quote is unconfirmed",
  "unchecked": "never put to a verifier"
 },
 "read_values": {
  "raw": "the full text was read",
  "extracted": "large parts of the text were read",
  "abstract": "only the abstract was read",
  "snippet": "only a search snippet or summary was read",
  "blocked": "the page could not be opened"
 },
 "grade_values": {
  "solid": "the research rated the source highly trustworthy, and a verifier found every passage taken from it",
  "weak": "the research rated the source low, or a verifier did not find a passage taken from it",
  "medium": "the research rated the source medium; neither weak nor solid",
  "unchecked": "the research rated the source high, but a verifier could not check every passage taken from it (page blocked or not checked)",
  "retracted": "the work was retracted or withdrawn after publication; the article cites it only to say so"
 },
 "evidence_values": {
  "contested": "studies disagree on this",
  "weak": "few or small studies support this",
  "failed-replication": "when the study was repeated, the original result did not appear",
  "strong": "many studies agree on this",
  "replicated": "when other teams repeated the study, the original result appeared again",
  "null": "no note: the article does not single out the section's evidence"
 },
 "sections": [
  {
   "title": "Lead",
   "anchor": "lead",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-4",
    "hash-tables-and-search-trees:C-hash-5",
    "hash-tables-and-search-trees:C-hash-6",
    "hash-tables-and-search-trees:C-hash-7",
    "hash-tables-and-search-trees:C-hash-1",
    "hash-tables-and-search-trees:C-hash-2",
    "hash-tables-and-search-trees:C-hash-29",
    "hash-tables-and-search-trees:C-hash-3",
    "hash-tables-and-search-trees:C-hash-30",
    "hash-tables-and-search-trees:C-hash-42",
    "hash-tables-and-search-trees:C-hash-8",
    "hash-tables-and-search-trees:C-hash-9",
    "hash-tables-and-search-trees:C-hash-34",
    "hash-tables-and-search-trees:C-hash-35"
   ]
  },
  {
   "title": "How collisions are handled",
   "anchor": "how-collisions-are-handled",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-19",
    "hash-tables-and-search-trees:C-hash-10",
    "hash-tables-and-search-trees:C-hash-11"
   ]
  },
  {
   "title": "Which designs are fastest",
   "anchor": "which-designs-are-fastest",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-4",
    "hash-tables-and-search-trees:C-hash-5",
    "hash-tables-and-search-trees:C-hash-6",
    "hash-tables-and-search-trees:C-hash-7",
    "hash-tables-and-search-trees:C-hash-1",
    "hash-tables-and-search-trees:C-hash-2",
    "hash-tables-and-search-trees:C-hash-29",
    "hash-tables-and-search-trees:C-hash-3",
    "hash-tables-and-search-trees:C-hash-30",
    "hash-tables-and-search-trees:C-hash-42",
    "hash-tables-and-search-trees:C-hash-8",
    "hash-tables-and-search-trees:C-hash-9"
   ]
  },
  {
   "title": "Memory use and pointer stability",
   "anchor": "memory-use-and-pointer-stability",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-20",
    "hash-tables-and-search-trees:C-hash-24",
    "hash-tables-and-search-trees:C-hash-25",
    "hash-tables-and-search-trees:C-hash-73",
    "hash-tables-and-search-trees:C-hash-74",
    "hash-tables-and-search-trees:C-ordered-43"
   ]
  },
  {
   "title": "Deleted slots under churn",
   "anchor": "deleted-slots-under-churn",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-ordered-39",
    "hash-tables-and-search-trees:C-hash-69",
    "hash-tables-and-search-trees:C-hash-70",
    "hash-tables-and-search-trees:C-ordered-40",
    "hash-tables-and-search-trees:C-ordered-41",
    "hash-tables-and-search-trees:C-ordered-42",
    "hash-tables-and-search-trees:C-ordered-43",
    "hash-tables-and-search-trees:C-hash-73",
    "hash-tables-and-search-trees:C-hash-74",
    "hash-tables-and-search-trees:C-hash-67",
    "hash-tables-and-search-trees:C-hash-68"
   ]
  },
  {
   "title": "Growth",
   "anchor": "growth",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-22",
    "hash-tables-and-search-trees:C-hash-21",
    "hash-tables-and-search-trees:C-hash-23",
    "hash-tables-and-search-trees:C-hash-27",
    "hash-tables-and-search-trees:C-hash-28",
    "hash-tables-and-search-trees:C-ordered-48",
    "hash-tables-and-search-trees:C-ordered-49",
    "hash-tables-and-search-trees:C-ordered-50",
    "hash-tables-and-search-trees:C-ordered-51",
    "hash-tables-and-search-trees:C-ordered-52"
   ]
  },
  {
   "title": "What standard libraries ship",
   "anchor": "what-standard-libraries-ship",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-12",
    "hash-tables-and-search-trees:C-hash-13",
    "hash-tables-and-search-trees:C-hash-31",
    "hash-tables-and-search-trees:C-hash-32",
    "hash-tables-and-search-trees:C-ordered-45",
    "hash-tables-and-search-trees:C-hash-21",
    "hash-tables-and-search-trees:C-hash-22",
    "hash-tables-and-search-trees:C-hash-23",
    "hash-tables-and-search-trees:C-hash-14",
    "hash-tables-and-search-trees:C-hash-15",
    "hash-tables-and-search-trees:C-hash-16",
    "hash-tables-and-search-trees:C-hash-19",
    "hash-tables-and-search-trees:C-hash-17",
    "hash-tables-and-search-trees:C-hash-26",
    "hash-tables-and-search-trees:C-hash-33",
    "hash-tables-and-search-trees:C-ordered-44",
    "hash-tables-and-search-trees:C-hash-20",
    "hash-tables-and-search-trees:C-hash-10",
    "hash-tables-and-search-trees:C-hash-11",
    "hash-tables-and-search-trees:C-hash-24",
    "hash-tables-and-search-trees:C-hash-25",
    "hash-tables-and-search-trees:C-hash-27",
    "hash-tables-and-search-trees:C-hash-28",
    "hash-tables-and-search-trees:C-hash-93",
    "hash-tables-and-search-trees:C-hash-80",
    "hash-tables-and-search-trees:C-hash-18",
    "hash-tables-and-search-trees:C-hash-75",
    "hash-tables-and-search-trees:C-hash-76",
    "hash-tables-and-search-trees:C-hash-77",
    "hash-tables-and-search-trees:C-hash-78"
   ]
  },
  {
   "title": "Defending against hash flooding",
   "anchor": "defending-against-hash-flooding",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-34",
    "hash-tables-and-search-trees:C-hash-35",
    "hash-tables-and-search-trees:C-hash-36",
    "hash-tables-and-search-trees:C-hash-37",
    "hash-tables-and-search-trees:C-hash-38",
    "hash-tables-and-search-trees:C-hash-39",
    "hash-tables-and-search-trees:C-hash-31",
    "hash-tables-and-search-trees:C-hash-32",
    "hash-tables-and-search-trees:C-hash-12",
    "hash-tables-and-search-trees:C-hash-13",
    "hash-tables-and-search-trees:C-ordered-45",
    "hash-tables-and-search-trees:C-hash-33",
    "hash-tables-and-search-trees:C-hash-17",
    "hash-tables-and-search-trees:C-hash-26",
    "hash-tables-and-search-trees:C-ordered-44",
    "hash-tables-and-search-trees:C-ordered-46",
    "hash-tables-and-search-trees:C-ordered-47",
    "hash-tables-and-search-trees:C-hash-40",
    "hash-tables-and-search-trees:C-hash-41"
   ]
  },
  {
   "title": "Hash functions for trusted keys",
   "anchor": "hash-functions-for-trusted-keys",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-42",
    "hash-tables-and-search-trees:C-hash-30",
    "hash-tables-and-search-trees:C-hash-29",
    "hash-tables-and-search-trees:C-hash-1",
    "hash-tables-and-search-trees:C-hash-2",
    "hash-tables-and-search-trees:C-hash-3",
    "hash-tables-and-search-trees:C-hash-66",
    "hash-tables-and-search-trees:C-hash-65",
    "hash-tables-and-search-trees:C-hash-41",
    "hash-tables-and-search-trees:C-hash-40"
   ]
  },
  {
   "title": "Hash tables on graphics processors",
   "anchor": "hash-tables-on-graphics-processors",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-81",
    "hash-tables-and-search-trees:C-hash-82",
    "hash-tables-and-search-trees:C-hash-83",
    "hash-tables-and-search-trees:C-hash-86",
    "hash-tables-and-search-trees:C-hash-84",
    "hash-tables-and-search-trees:C-hash-85"
   ]
  },
  {
   "title": "When a linear scan beats a hash table",
   "anchor": "when-a-linear-scan-beats-a-hash-table",
   "evidence": "weak",
   "claims": [
    "hash-tables-and-search-trees:C-ordered-28",
    "hash-tables-and-search-trees:C-ordered-29",
    "hash-tables-and-search-trees:C-ordered-25",
    "hash-tables-and-search-trees:C-ordered-26",
    "hash-tables-and-search-trees:C-ordered-27",
    "hash-tables-and-search-trees:C-hash-93",
    "hash-tables-and-search-trees:C-hash-94",
    "hash-tables-and-search-trees:C-ordered-30",
    "hash-tables-and-search-trees:C-hash-90",
    "hash-tables-and-search-trees:C-hash-91",
    "hash-tables-and-search-trees:C-hash-92"
   ]
  },
  {
   "title": "Further reading",
   "anchor": "further-reading",
   "evidence": null,
   "claims": [
    "hash-tables-and-search-trees:C-hash-1",
    "hash-tables-and-search-trees:C-hash-2",
    "hash-tables-and-search-trees:C-hash-29",
    "hash-tables-and-search-trees:C-hash-3",
    "hash-tables-and-search-trees:C-hash-30",
    "hash-tables-and-search-trees:C-hash-42",
    "hash-tables-and-search-trees:C-hash-4",
    "hash-tables-and-search-trees:C-hash-5",
    "hash-tables-and-search-trees:C-hash-6",
    "hash-tables-and-search-trees:C-hash-7",
    "hash-tables-and-search-trees:C-hash-10",
    "hash-tables-and-search-trees:C-hash-11",
    "hash-tables-and-search-trees:C-hash-21",
    "hash-tables-and-search-trees:C-hash-22",
    "hash-tables-and-search-trees:C-hash-23",
    "hash-tables-and-search-trees:C-hash-34",
    "hash-tables-and-search-trees:C-hash-35",
    "hash-tables-and-search-trees:C-hash-67",
    "hash-tables-and-search-trees:C-hash-68"
   ]
  }
 ],
 "claims": [
  {
   "id": "hash-tables-and-search-trees:C-hash-4",
   "claim": "In Allan's C and C++ benchmark, node-based std::unordered_map lagged most tested flat tables in most tests, with successful lookups an exception where it was comparable to the slowest open-addressing tables.",
   "quote": "This table is far slower than most of the open-addressing tables in most of the benchmarks, except in the case of looking up existing keys, wherein its performance is comparable to that of the slowest open-addressing tables.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-2",
    "key": "allan2024",
    "author": "Allan, Jackson",
    "year": "2024",
    "title": "An extensive benchmark of C and C++ hash tables",
    "publisher": "Jackson Allan",
    "url": "https://jacksonallan.github.io/c_cpp_hash_tables_benchmark/",
    "in_text": "Allan (2024)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own benchmark with setup shown; author discloses he benchmarks his own hash table libraries; no checked results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-5",
   "claim": "Allan's tested SIMD and hybrid tables were less sensitive to high load than the tested conventional linear, quadratic and Robin Hood tables.",
   "quote": "Secondly, conventional open-addressing tables that use linear or quadratic probing are very susceptible to load factor. The same goes for Robin Hood tables, despite the oft-repeated claim that a reasonable default maximum load factor for such tables is 0.9.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-2",
    "key": "allan2024",
    "author": "Allan, Jackson",
    "year": "2024",
    "title": "An extensive benchmark of C and C++ hash tables",
    "publisher": "Jackson Allan",
    "url": "https://jacksonallan.github.io/c_cpp_hash_tables_benchmark/",
    "in_text": "Allan (2024)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own benchmark with setup shown; author discloses he benchmarks his own hash table libraries; no checked results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-6",
   "claim": "In Allan's benchmark, the tested SIMD and hybrid hash table designs were mostly resilient to high load factors.",
   "quote": "Thirdly, SIMD and hybrid open-addressing/separate-chaining tables are mostly immune to high load factors.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-2",
    "key": "allan2024",
    "author": "Allan, Jackson",
    "year": "2024",
    "title": "An extensive benchmark of C and C++ hash tables",
    "publisher": "Jackson Allan",
    "url": "https://jacksonallan.github.io/c_cpp_hash_tables_benchmark/",
    "in_text": "Allan (2024)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own benchmark with setup shown; author discloses he benchmarks his own hash table libraries; no checked results"
   },
   "verified": "unchecked",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-7",
   "claim": "Allan reported that the tested Bytell map's lookup speed was comparatively stronger for integer keys than for string keys.",
   "quote": "This table’s lookups are relatively fast when it comes to integer keys (but not as competitive when it comes to string keys, probably due to the absence of a mechanism to limit key comparisons based on hash-code fragments).",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-2",
    "key": "allan2024",
    "author": "Allan, Jackson",
    "year": "2024",
    "title": "An extensive benchmark of C and C++ hash tables",
    "publisher": "Jackson Allan",
    "url": "https://jacksonallan.github.io/c_cpp_hash_tables_benchmark/",
    "in_text": "Allan (2024)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own benchmark with setup shown; author discloses he benchmarks his own hash table libraries; no checked results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-1",
   "claim": "In Richter and colleagues’ higher-load benchmarks, multiply-shift linear and quadratic probing reached 45 and 35 million insertions per second respectively on dense keys, and quadratic probing led on the other tested distributions with either matched multiply-shift or matched Murmur hashing.",
   "quote": "LPMult is considerable faster than QPMult under the dense distribution of keys (45M insertions/second versus 35M insertions/second — Figure 4(a)), and (2) QP (Mult/Murmur) is faster than LP (Mult/Murmur) otherwise.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-1",
    "key": "richter2015",
    "author": "Richter, Stefan and Alvarez, Victor and Dittrich, Jens",
    "year": "2015",
    "title": "A seven-dimensional analysis of hashing methods and its implications on query processing",
    "publisher": "Proceedings of the VLDB Endowment",
    "url": "https://www.vldb.org/pvldb/vol9/p96-richter.pdf",
    "in_text": "Richter et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark study of 20 hashing combinations; design space and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "hash-functions-for-trusted-keys",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-2",
   "claim": "In Richter and colleagues' insertion benchmarks, the four-table cuckoo variant delivered relatively low, stable insertion throughput across tested loads.",
   "quote": "CuckooH4 is showing a very stable insert performance that is only slightly affected by increasing load factors. However, this performance is rather low.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-1",
    "key": "richter2015",
    "author": "Richter, Stefan and Alvarez, Victor and Dittrich, Jens",
    "year": "2015",
    "title": "A seven-dimensional analysis of hashing methods and its implications on query processing",
    "publisher": "Proceedings of the VLDB Endowment",
    "url": "https://www.vldb.org/pvldb/vol9/p96-richter.pdf",
    "in_text": "Richter et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark study of 20 hashing combinations; design space and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "hash-functions-for-trusted-keys",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-29",
   "claim": "In Richter et al.'s multi-design integer-key experiments, tabulation gave the most robust results across data distributions but the lowest throughput.",
   "quote": "Tabulation was indeed the strongest, most robust hash function of all when integrated with all hashing schemes. However, it is also the slowest, i.e., producing the lowest throughput.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-1",
    "key": "richter2015",
    "author": "Richter, Stefan and Alvarez, Victor and Dittrich, Jens",
    "year": "2015",
    "title": "A seven-dimensional analysis of hashing methods and its implications on query processing",
    "publisher": "Proceedings of the VLDB Endowment",
    "url": "https://www.vldb.org/pvldb/vol9/p96-richter.pdf",
    "in_text": "Richter et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark study of 20 hashing combinations; design space and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "hash-functions-for-trusted-keys",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-3",
   "claim": "Richter and colleagues found that their four-table cuckoo variant pulled ahead of other tested open-addressing schemes as load reached 80% and failed lookups increased.",
   "quote": "LP, QP, and RH perform better than CuckooH4 in many situations, i.e., up to relatively high load factors. However, the performance of the former three significantly decreases with (1) higher load factors and (2) more unsuccessful lookups. We could observe that from a load factor of 80%, on, CuckooH4 clearly surpasses the other methods.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-1",
    "key": "richter2015",
    "author": "Richter, Stefan and Alvarez, Victor and Dittrich, Jens",
    "year": "2015",
    "title": "A seven-dimensional analysis of hashing methods and its implications on query processing",
    "publisher": "Proceedings of the VLDB Endowment",
    "url": "https://www.vldb.org/pvldb/vol9/p96-richter.pdf",
    "in_text": "Richter et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark study of 20 hashing combinations; design space and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "hash-functions-for-trusted-keys",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-30",
   "claim": "In Richter et al.'s 50–90% load experiments, Murmur's throughput varied less across input distributions than that of multiply-shift.",
   "quote": "Another interesting observation is that, while we can see a significant variance in throughput under Mult across different data distributions — compare for example the throughputs of dense and sparse distributions under Mult — this variance is minimal under Murmur.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-1",
    "key": "richter2015",
    "author": "Richter, Stefan and Alvarez, Victor and Dittrich, Jens",
    "year": "2015",
    "title": "A seven-dimensional analysis of hashing methods and its implications on query processing",
    "publisher": "Proceedings of the VLDB Endowment",
    "url": "https://www.vldb.org/pvldb/vol9/p96-richter.pdf",
    "in_text": "Richter et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark study of 20 hashing combinations; design space and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "hash-functions-for-trusted-keys",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-42",
   "claim": "In the tested integer-key tables at 50–90% load, multiply-shift generally had higher throughput than Murmur.",
   "quote": "Our first important observation is that Multiply-shift (Mult) performs essentially always better than Murmur hashing in this experiment.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-1",
    "key": "richter2015",
    "author": "Richter, Stefan and Alvarez, Victor and Dittrich, Jens",
    "year": "2015",
    "title": "A seven-dimensional analysis of hashing methods and its implications on query processing",
    "publisher": "Proceedings of the VLDB Endowment",
    "url": "https://www.vldb.org/pvldb/vol9/p96-richter.pdf",
    "in_text": "Richter et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark study of 20 hashing combinations; design space and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest",
    "hash-functions-for-trusted-keys",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-8",
   "claim": "Debnath and colleagues found that their tested cuckoo hash table beat hopscotch on DRAM in write-heavy, high-load workloads.",
   "quote": "Overall, we ﬁnd that for write-heavy workloads with higher load factor, cuckoo hashing performs better than hopscotch hashing over DRAM.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-3",
    "key": "debnath2015",
    "author": "Debnath, Biplob and Haghdoost, Alireza and Kadav, Asim and Khatib, Mohammed G. and Ungureanu, Cristian",
    "year": "2015",
    "title": "Revisiting hash table design for phase change memory",
    "publisher": "INFLOW '15",
    "url": "https://pages.cs.wisc.edu/~kadav/app/papers/phft.pdf",
    "in_text": "Debnath et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmarks of hash tables with method shown; authors propose their own design but report comparison data; workshop paper"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-9",
   "claim": "Debnath and colleagues reported the opposite ranking for write-heavy, high-load workloads in their phase-change-memory experiment, with hopscotch ahead of cuckoo because of cascading writes.",
   "quote": "Overall, for write-heavy workloads with high load factor, we ﬁnd that hopscotch hashing performs better than cuckoo hashing over PCM, which differs from the DRAM results. The reason is that cuckoo hashing suffers severely from cascading writes that makes it slower over PCM.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-3",
    "key": "debnath2015",
    "author": "Debnath, Biplob and Haghdoost, Alireza and Kadav, Asim and Khatib, Mohammed G. and Ungureanu, Cristian",
    "year": "2015",
    "title": "Revisiting hash table design for phase change memory",
    "publisher": "INFLOW '15",
    "url": "https://pages.cs.wisc.edu/~kadav/app/papers/phft.pdf",
    "in_text": "Debnath et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmarks of hash tables with method shown; authors propose their own design but report comparison data; workshop paper"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "which-designs-are-fastest"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-34",
   "claim": "Crosby and Wallach describe algorithmic-complexity denial of service as deliberately provoking data structures' worst-case behavior.",
   "quote": "We present a new class of low-bandwidth denial of service attacks that exploit algorithmic deficiencies in many common applications’ data structures.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-14",
    "key": "crosby2003",
    "author": "Crosby, Scott A. and Wallach, Dan S.",
    "year": "2003",
    "title": "Denial of service via algorithmic complexity attacks",
    "publisher": "12th USENIX Security Symposium",
    "url": "https://www.usenix.org/legacy/publications/library/proceedings/sec03/tech/full_papers/crosby/crosby_html/index.html",
    "in_text": "Crosby & Wallach (2003)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments on Perl, Squid, Bro; setup and timings shown; NSF/gift funding disclosed, no stake in outcome"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defending-against-hash-flooding",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-35",
   "claim": "Application limits on hash table size can constrain the worst-case time cost of accepting untrusted input.",
   "quote": "Many applications are sensitive about their overall memory usage, and thus have limits designed to control how large their hash tables might grow.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-14",
    "key": "crosby2003",
    "author": "Crosby, Scott A. and Wallach, Dan S.",
    "year": "2003",
    "title": "Denial of service via algorithmic complexity attacks",
    "publisher": "12th USENIX Security Symposium",
    "url": "https://www.usenix.org/legacy/publications/library/proceedings/sec03/tech/full_papers/crosby/crosby_html/index.html",
    "in_text": "Crosby & Wallach (2003)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments on Perl, Squid, Bro; setup and timings shown; NSF/gift funding disclosed, no stake in outcome"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "defending-against-hash-flooding",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-19",
   "claim": "GCC 15.1.0 libstdc++ implements its unordered-map hash table with linked nodes and a bucket array indexing them.",
   "quote": "In terms of Standard containers the hashtable is like the aggregation of:\n   *\n   *  - std::forward_list<_Node> containing the elements\n   *  - std::vector<std::forward_list<_Node>::iterator> representing the buckets",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-9",
    "key": "libstdcxx2025",
    "author": "{Free Software Foundation, Inc.}",
    "year": "2025",
    "title": "bits/hashtable.h (GCC 15.1.0 source)",
    "publisher": "GNU libstdc++",
    "url": "https://raw.githubusercontent.com/gcc-mirror/gcc/releases/gcc-15.1.0/libstdc%2B%2B-v3/include/bits/hashtable.h",
    "in_text": "Free Software Foundation (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code of the library; describes its own product, no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-collisions-are-handled",
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-10",
   "claim": "Abseil's Swiss table design packs a seven-bit hash fragment and slot state into a single metadata byte per slot.",
   "quote": "The metadata of a Swiss table stores presence information (whether the element is empty, deleted, or full). Each metadata entry consists of one byte, which consists of a single control bit and the 7 bit H2 hash.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-4",
    "key": "abseilswiss",
    "author": "{Abseil}",
    "year": "n.d.c",
    "title": "Swiss tables design notes",
    "publisher": "Abseil",
    "url": "https://abseil.io/about/design/swisstables",
    "in_text": "Abseil (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "maintainer's own design description, but gives performance claims with no numbers or method"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-collisions-are-handled",
    "what-standard-libraries-ship",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-11",
   "claim": "Abseil uses SIMD metadata filtering to select from 16 candidates before full equality checks.",
   "quote": "Because we can winnow 16 candidates down to only those with a matching H2 hash in only a few instructions, we are functionally searching very deep probe chains inexpensively.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-4",
    "key": "abseilswiss",
    "author": "{Abseil}",
    "year": "n.d.c",
    "title": "Swiss tables design notes",
    "publisher": "Abseil",
    "url": "https://abseil.io/about/design/swisstables",
    "in_text": "Abseil (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "maintainer's own design description, but gives performance claims with no numbers or method"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-collisions-are-handled",
    "what-standard-libraries-ship",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-20",
   "claim": "The C++ unordered associative requirements preserve pointers and references to elements across rehashing while invalidating iterators.",
   "quote": "Rehashing invalidates iterators, changes ordering between elements, and changes which buckets elements appear in, but does not invalidate pointers or references to elements",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-10",
    "key": "cppunord",
    "author": "{ISO/IEC JTC1/SC22/WG21}",
    "year": "n.d.",
    "title": "Unordered associative containers [unord.req.general]",
    "publisher": "Draft C++ Standard",
    "url": "https://eel.is/c%2B%2Bdraft/unord.req.general",
    "in_text": "JTC1/SC22/WG21 (n.d.)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "copy of the C++ draft standard hosted by a third party, not the issuing body"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "memory-use-and-pointer-stability",
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-24",
   "claim": "Abseil's flat unordered containers store keys and values inline and invalidate iterators, pointers, and references when rehashing.",
   "quote": "Keys and values are stored inline.\nIterators, references, and pointers to elements are invalidated on rehash.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-12",
    "key": "abseilcontainers",
    "author": "{Abseil}",
    "year": "n.d.a",
    "title": "Abseil containers",
    "publisher": "Abseil",
    "url": "https://abseil.io/docs/cpp/guides/container",
    "in_text": "Abseil (n.d.a)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "maintainer docs on own containers; efficiency claims given without data"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "memory-use-and-pointer-stability",
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-25",
   "claim": "Abseil's node unordered containers provide stable node addresses while invalidating iterators on rehash.",
   "quote": "Nodes have stable addresses.\nIterators are invalidated on rehash.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-12",
    "key": "abseilcontainers",
    "author": "{Abseil}",
    "year": "n.d.a",
    "title": "Abseil containers",
    "publisher": "Abseil",
    "url": "https://abseil.io/docs/cpp/guides/container",
    "in_text": "Abseil (n.d.a)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "maintainer docs on own containers; efficiency claims given without data"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "memory-use-and-pointer-stability",
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-73",
   "claim": "Before churn, Ankerl measured geometric means of 26.4 and 46.2 allocated bytes per live entry for Abseil flat and node maps with 8-byte values, and 113.3 and 94.2 bytes with 64-byte values, over five sizes from 32,000 to about 55,700 entries using 64-bit unsigned integer keys.",
   "quote": "absl flat  | 26.4  | 30.3  | 113.3  | 130.2 ... absl node  | 46.2  | 48.3  | 94.2  | 96.3",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-20",
    "key": "ankerl2026",
    "author": "Ankerl, Martin",
    "year": "2026",
    "title": "The index structures of fast C++ hash maps",
    "publisher": "Martin Ankerl",
    "url": "https://martin.ankerl.com/2026/09/09/hash-map-index-structures/",
    "in_text": "Ankerl (2026)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmarks, method shown; author discloses two of the compared maps are his; corrected after publication"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "memory-use-and-pointer-stability",
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-74",
   "claim": "In Ankerl’s memory benchmark, the Abseil node map used 46.2 allocated bytes per live entry with 8-byte values and 94.2 bytes with 64-byte values before churn.",
   "quote": "absl node  | 46.2  | 48.3  | 94.2  | 96.3",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-20",
    "key": "ankerl2026",
    "author": "Ankerl, Martin",
    "year": "2026",
    "title": "The index structures of fast C++ hash maps",
    "publisher": "Martin Ankerl",
    "url": "https://martin.ankerl.com/2026/09/09/hash-map-index-structures/",
    "in_text": "Ankerl (2026)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmarks, method shown; author discloses two of the compared maps are his; corrected after publication"
   },
   "verified": "unchecked",
   "captured": null,
   "cited_in": [
    "memory-use-and-pointer-stability",
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-43",
   "claim": "In Ankerl’s 200,000-integer erase-insert experiment, misses rose from 3.91 to 5.71 ns for Boost at 81% live load and from 6.26 to 14.62 ns for Abseil at 76%.",
   "quote": "boost::unordered_flat_map | 3.91 ns | 5.71 ns (1.46x) | 245,759, unchanged absl::flat_hash_map | 6.26 ns | 14.62 ns (2.34x) | 262,143, unchanged",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-20",
    "key": "ankerl2026",
    "author": "Ankerl, Martin",
    "year": "2026",
    "title": "The index structures of fast C++ hash maps",
    "publisher": "Martin Ankerl",
    "url": "https://martin.ankerl.com/2026/09/09/hash-map-index-structures/",
    "in_text": "Ankerl (2026)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmarks, method shown; author discloses two of the compared maps are his; corrected after publication"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "memory-use-and-pointer-stability",
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-39",
   "claim": "At 95% live load with updates and queries equally common, the authors’ simple linear-probing tombstone baseline ran out of free space after about 150 churn cycles.",
   "quote": "The linear probing hash table with tombstones (TombstoneHT) [40] dies after 150 churn cycles due to accumulated tombstones.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-19",
    "key": "chesetti2025",
    "author": "Chesetti, Yuvaraj and Shi, Benwei and Phillips, Jeff M. and Pandey, Prashant",
    "year": "2025",
    "title": "Zombie hashing: reanimating tombstones in a graveyard",
    "publisher": "Proceedings of the ACM on Management of Data",
    "url": "https://users.cs.utah.edu/~jeffp/papers/zombieht.pdf",
    "in_text": "Chesetti et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own design, proofs and experiments; method shown; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-69",
   "claim": "The 2025 Zombie Hashing study explains that full graveyard rebuilds can suspend table operations and worsen tail latency even when the amortized cost remains low.",
   "quote": "Most notably, it is an amortized analysis, and the algorithm must regularly stop hash\ntable operations to clean and rearrange all of the tombstones. While the cost of this operation does\nnot dominate the runtime over a long run, it results in complete downtime and dramatically hurts the\nlatency during these clean-up periods",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-19",
    "key": "chesetti2025",
    "author": "Chesetti, Yuvaraj and Shi, Benwei and Phillips, Jeff M. and Pandey, Prashant",
    "year": "2025",
    "title": "Zombie hashing: reanimating tombstones in a graveyard",
    "publisher": "Proceedings of the ACM on Management of Data",
    "url": "https://users.cs.utah.edu/~jeffp/papers/zombieht.pdf",
    "in_text": "Chesetti et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own design, proofs and experiments; method shown; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-70",
   "claim": "Zombie hashing redistributes tombstones locally during inserts and deletes to avoid complete rebuild pauses.",
   "quote": "Zombie hashing redistributes tombstones locally in bounded windows during insertions and\ndeletions",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-19",
    "key": "chesetti2025",
    "author": "Chesetti, Yuvaraj and Shi, Benwei and Phillips, Jeff M. and Pandey, Prashant",
    "year": "2025",
    "title": "Zombie hashing: reanimating tombstones in a graveyard",
    "publisher": "Proceedings of the ACM on Management of Data",
    "url": "https://users.cs.utah.edu/~jeffp/papers/zombieht.pdf",
    "in_text": "Chesetti et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own design, proofs and experiments; method shown; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-40",
   "claim": "The Zombie Hashing experiment’s vectorized version redistributed tombstones incrementally at true load above 87.5%, while the experimental Abseil variant was configured to rehash at 97.5% instead of using its usual resize or rehash policy.",
   "quote": "We disable AbslHT’s default behavior of resizing (or rehashing) when the load factor exceeds 87.5% true load factor. Instead, we disable resizing and configure AbslHT to rehash when the true load factor3 reaches 97.5%.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-19",
    "key": "chesetti2025",
    "author": "Chesetti, Yuvaraj and Shi, Benwei and Phillips, Jeff M. and Pandey, Prashant",
    "year": "2025",
    "title": "Zombie hashing: reanimating tombstones in a graveyard",
    "publisher": "Proceedings of the ACM on Management of Data",
    "url": "https://users.cs.utah.edu/~jeffp/papers/zombieht.pdf",
    "in_text": "Chesetti et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own design, proofs and experiments; method shown; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-41",
   "claim": "In the authors’ 95% live-load churn experiment, vectorized Zombie hashing achieved 6.91 million operations per second and the modified Abseil table achieved 9.81 million.",
   "quote": "ZombieHT(V) achieves a similar throughput (6.91M 𝑜𝑝𝑠/𝑠) compared to AbslHT (9.81M 𝑜𝑝𝑠/𝑠)",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-19",
    "key": "chesetti2025",
    "author": "Chesetti, Yuvaraj and Shi, Benwei and Phillips, Jeff M. and Pandey, Prashant",
    "year": "2025",
    "title": "Zombie hashing: reanimating tombstones in a graveyard",
    "publisher": "Proceedings of the ACM on Management of Data",
    "url": "https://users.cs.utah.edu/~jeffp/papers/zombieht.pdf",
    "in_text": "Chesetti et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own design, proofs and experiments; method shown; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-42",
   "claim": "The Zombie Hashing churn tests ran on a Xeon Gold 6338, used uniformly sampled 64-bit keys and tested 50:50 and 5:95 update-to-lookup mixes.",
   "quote": "we generate two churn workloads by varying the ratio of number of update and lookup operations (50:50 YCSB-A, and 5:95 YCSB-B).",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-19",
    "key": "chesetti2025",
    "author": "Chesetti, Yuvaraj and Shi, Benwei and Phillips, Jeff M. and Pandey, Prashant",
    "year": "2025",
    "title": "Zombie hashing: reanimating tombstones in a graveyard",
    "publisher": "Proceedings of the ACM on Management of Data",
    "url": "https://users.cs.utah.edu/~jeffp/papers/zombieht.pdf",
    "in_text": "Chesetti et al. (2025)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own design, proofs and experiments; method shown; NSF-funded, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-67",
   "claim": "At live load 1−1/x, graveyard hashing provides O(x) expected time for an insert, lookup, or deletion and O(x) additional amortized rebuild time per operation.",
   "quote": "For each\ninsertion/query/deletion, if the operation is performed at\nsome load factor of 1−1/x then the operation takes expected\ntime O(x), and incurs amortized time O(x) for rebuilds.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-29",
    "key": "bender2021",
    "author": "Bender, Michael A. and Kuszmaul, Bradley C. and Kuszmaul, William",
    "year": "2021",
    "title": "Linear probing revisited: tombstones mark the demise of primary clustering",
    "publisher": "2021 IEEE 62nd Annual Symposium on Foundations of Computer Science",
    "url": "https://ieee-focs.org/FOCS-2021-Papers/pdfs/FOCS2021-5stbVHiOp5jRHWlSl41FkR/205500b181/205500b181.pdf",
    "in_text": "Bender et al. (2021)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own theorems and proofs; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-68",
   "claim": "The graveyard hashing proof assumes uniform and fully independent hashing for exposition, with the extended analysis covering choices such as tabulation or 5-independent hashing.",
   "quote": "We shall assume\nthat h is uniform and fully independent, but as we discuss\nin the extended paper [56], our results also hold for natural\nfamilies of hash functions such as tabulation hashing (and,\nfor the analysis of graveyard hash tables, also 5-independent\nhashing).",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-29",
    "key": "bender2021",
    "author": "Bender, Michael A. and Kuszmaul, Bradley C. and Kuszmaul, William",
    "year": "2021",
    "title": "Linear probing revisited: tombstones mark the demise of primary clustering",
    "publisher": "2021 IEEE 62nd Annual Symposium on Foundations of Computer Science",
    "url": "https://ieee-focs.org/FOCS-2021-Papers/pdfs/FOCS2021-5stbVHiOp5jRHWlSl41FkR/205500b181/205500b181.pdf",
    "in_text": "Bender et al. (2021)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own theorems and proofs; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "deleted-slots-under-churn",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-22",
   "claim": "Go maintainers described Go 1.24's growth as rebuilding individual subtables while leaving the other subtables alone.",
   "quote": "During insertion, if an individual table needs to grow, it will do so all at once, but other tables are unaffected.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-11",
    "key": "pratt2025",
    "author": "Pratt, Michael",
    "year": "2025",
    "title": "Faster Go maps with Swiss Tables",
    "publisher": "The Go Blog",
    "url": "https://go.dev/blog/swisstable",
    "in_text": "Pratt (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product design (Go map) without evaluating; benchmark claims lack setup but are linked; design description is the main content"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth",
    "what-standard-libraries-ship",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-21",
   "claim": "Go 1.24 shipped a Swiss Table-based implementation of its built-in map.",
   "quote": "Go 1.24 includes a completely new implementation of the built-in map type, based on the Swiss Table design.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-11",
    "key": "pratt2025",
    "author": "Pratt, Michael",
    "year": "2025",
    "title": "Faster Go maps with Swiss Tables",
    "publisher": "The Go Blog",
    "url": "https://go.dev/blog/swisstable",
    "in_text": "Pratt (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product design (Go map) without evaluating; benchmark claims lack setup but are linked; design description is the main content"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth",
    "what-standard-libraries-ship",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-23",
   "claim": "Go maintainers reported up to 60% faster Go 1.24 map operations in microbenchmarks versus 1.23, with some regressions and about 1.5% geometric mean CPU-time improvement across full-application benchmarks.",
   "quote": "In microbenchmarks, map operations are up to 60% faster than in Go 1.23. Exact performance improvement varies quite a bit due to the wide variety of operations and uses of maps, and some edge cases do regress compared to Go 1.23. Overall, in full application benchmarks, we found a geometric mean CPU time improvement of around 1.5%.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-11",
    "key": "pratt2025",
    "author": "Pratt, Michael",
    "year": "2025",
    "title": "Faster Go maps with Swiss Tables",
    "publisher": "The Go Blog",
    "url": "https://go.dev/blog/swisstable",
    "in_text": "Pratt (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product design (Go map) without evaluating; benchmark claims lack setup but are linked; design description is the main content"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth",
    "what-standard-libraries-ship",
    "further-reading"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-27",
   "claim": "Go 1.24.0 uses extendible hashing to select subtables, allowing growth one subtable at a time.",
   "quote": "Map uses one or more tables to store entries. Extendible hashing (hash\n// prefix) is used to select the table to use for a specific key. Using\n// multiple tables enables incremental growth by growing only one table at a\n// time.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-13",
    "key": "gotable2025",
    "author": "{The Go Authors}",
    "year": "2025c",
    "title": "table.go (Go 1.24.0 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.24.0/src/internal/runtime/maps/table.go",
    "in_text": "Authors (2025c)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source code describing how the map works; no performance claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth",
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-28",
   "claim": "The Go 1.24.0 implementation caps a subtable at 1,024 slots before splitting it.",
   "quote": "const maxTableCapacity = 1024",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-13",
    "key": "gotable2025",
    "author": "{The Go Authors}",
    "year": "2025c",
    "title": "table.go (Go 1.24.0 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.24.0/src/internal/runtime/maps/table.go",
    "in_text": "Authors (2025c)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source code describing how the map works; no performance claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth",
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-48",
   "claim": "Go 1.24.0 doubles the whole directory when splitting a table already at the directory’s global depth.",
   "quote": "if old.localDepth == m.globalDepth { // No room for another level in the directory. Grow the // directory. newDir := make([]*table, m.dirLen*2) for i := range m.dirLen",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-22",
    "key": "gomap2025",
    "author": "{The Go Authors}",
    "year": "2025a",
    "title": "map.go (Go 1.24.0 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.24.0/src/internal/runtime/maps/map.go",
    "in_text": "Authors (2025a)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "source code with design comments of its own implementation; no evaluation claims; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-49",
   "claim": "Go 1.27.4 still allocates a doubled directory and duplicates every old directory pointer when a split exhausts available directory depth.",
   "quote": "newDir := make([]*table, m.dirLen*2) for i := range m.dirLen { t := m.directoryAt(uintptr(i)) newDir[2*i] = t newDir[2*i+1] = t",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-23",
    "key": "gomap2026",
    "author": "{The Go Authors}",
    "year": "2026a",
    "title": "map.go (Go 1.27.4 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.27.4/src/internal/runtime/maps/map.go",
    "in_text": "Authors (2026a)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers describe their own implementation; no evaluation of benefits"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-50",
   "claim": "In Go 1.27.4, replacing a table rewrites each directory entry that refers to it, a count that doubles each time global depth grows without that table splitting.",
   "quote": "The number of entries that reference the same table doubles for each time the globalDepth grows without the table splitting.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-23",
    "key": "gomap2026",
    "author": "{The Go Authors}",
    "year": "2026a",
    "title": "map.go (Go 1.27.4 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.27.4/src/internal/runtime/maps/map.go",
    "in_text": "Authors (2026a)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers describe their own implementation; no evaluation of benefits"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-51",
   "claim": "Go 1.27.4 still caps each subtable at 1,024 slots; the source flags that a byte-based limit might better address copying costs for larger objects.",
   "quote": "This should likely be based on byte size, as copying costs will // dominate grow latency for large objects. const maxTableCapacity = 1024",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-24",
    "key": "gotable2026",
    "author": "{The Go Authors}",
    "year": "2026c",
    "title": "table.go (Go 1.27.4 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.27.4/src/internal/runtime/maps/table.go",
    "in_text": "Authors (2026c)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source code and comments describing how it works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-52",
   "claim": "When rebuilding or splitting a subtable in Go 1.27.4, inline elements are copied and indirect elements keep their existing pointers.",
   "quote": "if typ.IndirectElem() { *(*unsafe.Pointer)(slotElem) = elem } else { typedmemmove(typ.Elem, slotElem, elem) }",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-24",
    "key": "gotable2026",
    "author": "{The Go Authors}",
    "year": "2026c",
    "title": "table.go (Go 1.27.4 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.27.4/src/internal/runtime/maps/table.go",
    "in_text": "Authors (2026c)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source code and comments describing how it works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "growth"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-12",
   "claim": "Rust 1.85.0's standard HashMap uses quadratic probing and SIMD lookups.",
   "quote": "A [hash map] implemented with quadratic probing and SIMD lookup.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-5",
    "key": "rusthashmap2025",
    "author": "{The Rust Project Developers}",
    "year": "2025",
    "title": "HashMap (Rust 1.85.0 source)",
    "publisher": "Rust standard library",
    "url": "https://raw.githubusercontent.com/rust-lang/rust/1.85.0/library/std/src/collections/hash/map.rs",
    "in_text": "Developers (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source and doc comments describing how HashMap works; no evaluation claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-13",
   "claim": "Rust 1.85.0's standard HashMap identifies its table as a port of SwissTable.",
   "quote": "The hash table implementation is a Rust port of Google's [SwissTable].",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-5",
    "key": "rusthashmap2025",
    "author": "{The Rust Project Developers}",
    "year": "2025",
    "title": "HashMap (Rust 1.85.0 source)",
    "publisher": "Rust standard library",
    "url": "https://raw.githubusercontent.com/rust-lang/rust/1.85.0/library/std/src/collections/hash/map.rs",
    "in_text": "Developers (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source and doc comments describing how HashMap works; no evaluation claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-31",
   "claim": "Rust 1.85.0 describes its default HashMap hasher as randomly seeded and chosen for HashDoS resistance.",
   "quote": "By default, `HashMap` uses a hashing algorithm selected to provide\n/// resistance against HashDoS attacks. The algorithm is randomly seeded,",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-5",
    "key": "rusthashmap2025",
    "author": "{The Rust Project Developers}",
    "year": "2025",
    "title": "HashMap (Rust 1.85.0 source)",
    "publisher": "Rust standard library",
    "url": "https://raw.githubusercontent.com/rust-lang/rust/1.85.0/library/std/src/collections/hash/map.rs",
    "in_text": "Developers (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source and doc comments describing how HashMap works; no evaluation claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-32",
   "claim": "Rust 1.85.0 chooses SipHash 1-3 by default for HashMap, and documents a potential throughput tradeoff on integer and long-string keys.",
   "quote": "The default hashing algorithm is currently SipHash 1-3, though this is\n/// subject to change at any point in the future. While its performance is very\n/// competitive for medium sized keys, other hashing algorithms will outperform\n/// it for small keys such as integers as well as large keys such as long\n/// strings, though those algorithms will typically *not* protect against\n/// attacks such as HashDoS.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-5",
    "key": "rusthashmap2025",
    "author": "{The Rust Project Developers}",
    "year": "2025",
    "title": "HashMap (Rust 1.85.0 source)",
    "publisher": "Rust standard library",
    "url": "https://raw.githubusercontent.com/rust-lang/rust/1.85.0/library/std/src/collections/hash/map.rs",
    "in_text": "Developers (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source and doc comments describing how HashMap works; no evaluation claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-45",
   "claim": "Rust’s standard HashMap documentation says the quality of the random seed can be lower when the host’s entropy pool is abnormally low.",
   "quote": "In particular, seeds generated when the system’s entropy pool is abnormally low such as during system boot may be of a lower quality.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-5",
    "key": "rusthashmap2025",
    "author": "{The Rust Project Developers}",
    "year": "2025",
    "title": "HashMap (Rust 1.85.0 source)",
    "publisher": "Rust standard library",
    "url": "https://raw.githubusercontent.com/rust-lang/rust/1.85.0/library/std/src/collections/hash/map.rs",
    "in_text": "Developers (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source and doc comments describing how HashMap works; no evaluation claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-14",
   "claim": "CPython uses a compact, ordered dictionary representation dating to Python 3.6.",
   "quote": "As of Python 3.6, this is compact and ordered.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-6",
    "key": "cpythondict2025",
    "author": "{Python Software Foundation}",
    "year": "2025a",
    "title": "dictobject.c (CPython 3.14.0 source)",
    "publisher": "CPython",
    "url": "https://raw.githubusercontent.com/python/cpython/v3.14.0/Objects/dictobject.c",
    "in_text": "Foundation (2025a)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code describing how its product works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-15",
   "claim": "CPython 3.14.0 stores hash indices separately from dictionary entries, and combined tables use distinct sentinel indices for empty and deleted slots.",
   "quote": "dk_indices is actual hashtable.  It holds index in entries, or DKIX_EMPTY(-1)\nor DKIX_DUMMY(-2).",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-6",
    "key": "cpythondict2025",
    "author": "{Python Software Foundation}",
    "year": "2025a",
    "title": "dictobject.c (CPython 3.14.0 source)",
    "publisher": "CPython",
    "url": "https://raw.githubusercontent.com/python/cpython/v3.14.0/Objects/dictobject.c",
    "in_text": "Foundation (2025a)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code describing how its product works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-16",
   "claim": "CPython 3.14.0's dictionary probe sequence eventually uses every bit of the hash code.",
   "quote": "Now the probe sequence depends (eventually) on every bit in the hash code,",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-6",
    "key": "cpythondict2025",
    "author": "{Python Software Foundation}",
    "year": "2025a",
    "title": "dictobject.c (CPython 3.14.0 source)",
    "publisher": "CPython",
    "url": "https://raw.githubusercontent.com/python/cpython/v3.14.0/Objects/dictobject.c",
    "in_text": "Foundation (2025a)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code describing how its product works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-17",
   "claim": "OpenJDK 25 HashMap iteration takes time proportional to the number of buckets plus the number of mappings.",
   "quote": "Iteration over\n * collection views requires time proportional to the \"capacity\" of the\n * {@code HashMap} instance (the number of buckets) plus its size (the number\n * of key-value mappings).",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-7",
    "key": "openjdkhashmap2025",
    "author": "{Oracle and/or its affiliates}",
    "year": "2025",
    "title": "HashMap.java (OpenJDK 25 GA source)",
    "publisher": "OpenJDK",
    "url": "https://raw.githubusercontent.com/openjdk/jdk/jdk-25-ga/src/java.base/share/classes/java/util/HashMap.java",
    "in_text": "affiliates (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code and comments describing how HashMap works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-26",
   "claim": "OpenJDK 25 HashMap uses ordinary buckets for most keys and switches large buckets to a tree representation for faster lookup.",
   "quote": "This map usually acts as a binned (bucketed) hash table, but\n     * when bins get too large, they are transformed into bins of\n     * TreeNodes, each structured similarly to those in\n     * java.util.TreeMap.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-7",
    "key": "openjdkhashmap2025",
    "author": "{Oracle and/or its affiliates}",
    "year": "2025",
    "title": "HashMap.java (OpenJDK 25 GA source)",
    "publisher": "OpenJDK",
    "url": "https://raw.githubusercontent.com/openjdk/jdk/jdk-25-ga/src/java.base/share/classes/java/util/HashMap.java",
    "in_text": "affiliates (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code and comments describing how HashMap works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-33",
   "claim": "OpenJDK 25 uses tree bins to limit degradation from poor hash distribution, with logarithmic worst-case operations inside a tree bin when keys have distinct hashes or are orderable.",
   "quote": "of tree bins is worthwhile in providing worst-case O(log n)\n     * operations when keys either have distinct hashes or are\n     * orderable, Thus, performance degrades gracefully under",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-7",
    "key": "openjdkhashmap2025",
    "author": "{Oracle and/or its affiliates}",
    "year": "2025",
    "title": "HashMap.java (OpenJDK 25 GA source)",
    "publisher": "OpenJDK",
    "url": "https://raw.githubusercontent.com/openjdk/jdk/jdk-25-ga/src/java.base/share/classes/java/util/HashMap.java",
    "in_text": "affiliates (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code and comments describing how HashMap works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-44",
   "claim": "OpenJDK documents a worst-case logarithmic tree-bin operation bound when keys have distinct hashes or are orderable.",
   "quote": "of tree bins is worthwhile in providing worst-case O(log n) operations when keys either have distinct hashes or are orderable",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-7",
    "key": "openjdkhashmap2025",
    "author": "{Oracle and/or its affiliates}",
    "year": "2025",
    "title": "HashMap.java (OpenJDK 25 GA source)",
    "publisher": "OpenJDK",
    "url": "https://raw.githubusercontent.com/openjdk/jdk/jdk-25-ga/src/java.base/share/classes/java/util/HashMap.java",
    "in_text": "affiliates (2025)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own source code and comments describing how HashMap works; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-93",
   "claim": "In Go 1.25.0, generic small-map lookup matches the hash fragment against group controls before equality-checking candidate keys.",
   "quote": "match := g.ctrls().matchH2(h2(hash))",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-44",
    "key": "gomap2025b",
    "author": "{The Go Authors}",
    "year": "2025b",
    "title": "map.go (Go 1.25.0 source)",
    "publisher": "The Go Programming Language",
    "url": "https://raw.githubusercontent.com/golang/go/go1.25.0/src/internal/runtime/maps/map.go",
    "in_text": "Authors (2025b)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers source code describing own implementation design, no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship",
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-80",
   "claim": "Dictionary insertion order was a CPython implementation detail in 3.6 and became a Python language guarantee in 3.7.",
   "quote": "Changed in version 3.7: Dictionaries did not preserve insertion order in versions of Python before 3.6. In CPython 3.6, insertion order was preserved, but it was considered an implementation detail at that time rather than a language guarantee.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-36",
    "key": "psfdatamodel",
    "author": "{Python Software Foundation}",
    "year": "n.d.e",
    "title": "Data model",
    "publisher": "Python 3.14 documentation",
    "url": "https://docs.python.org/3.14/reference/datamodel.html",
    "in_text": "Foundation (n.d.e)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's own language reference; describes how it works, no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-18",
   "claim": "JDK 8 moved long collision bins from linked lists to balanced trees to improve performance under many collisions.",
   "quote": "Instead, hash bins containing a large number of colliding keys improve performance by storing their entries in a balanced tree instead of a linked list.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-8",
    "key": "oracle2014",
    "author": "{Oracle and/or its affiliates}",
    "year": "2014",
    "title": "Collections framework enhancements in Java SE 8",
    "publisher": "Oracle Technology Network",
    "url": "https://cr.openjdk.org/~naoto/idna2008/docs_www/technotes/guides/collections/changes8.html",
    "in_text": "affiliates (2014)",
    "type": "documentation",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "own product docs; behaviour described but states a performance gain with no data, by the maker"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-75",
   "claim": "Hettinger proposed replacing the sparse array of full entries with a sparse index array pointing into a dense entry array.",
   "quote": "Instead, the 24-byte entries should be stored in a dense table referenced by a sparse table of indices.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-32",
    "key": "hettinger2012",
    "author": "Hettinger, Raymond",
    "year": "2012",
    "title": "More compact dictionaries with faster iteration",
    "publisher": "Python-Dev mailing list",
    "url": "https://mail.python.org/archives/list/python-dev@python.org/thread/V342SDL2AUMVCTAODAALJWW2PLDYS5GX/",
    "in_text": "Hettinger (2012)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "mailing-list proposal; calculated sizes with formulas, no benchmarks; argues for a design"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-76",
   "claim": "PyPy's 2015 compact dictionary design stores entries in insertion order and uses narrow index integers sized to fit the compact array.",
   "quote": "Here, `compact_array` stores all the items in order of insertion, while `sparse_array` is a 1/2 to 2/3 full array of integers. The integers themselves are of the smallest size necessary for indexing the `compact_array`.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-33",
    "key": "fijalkowski2015",
    "author": "Fijalkowski, Maciej",
    "year": "2015",
    "title": "Faster, more memory efficient and more ordered dictionaries on PyPy",
    "publisher": "PyPy blog",
    "url": "https://pypy.org/posts/2015/01/faster-more-memory-efficient-and-more-4096950404745375390.html",
    "in_text": "Fijalkowski (2015)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "developers' own benchmarks, microbenchmarks described briefly; open-source, no sale"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-77",
   "claim": "PyPy's maintainer reported that keeping order during deletions can require repacking tombstoned entries, slowing workloads that add and remove similar numbers of keys.",
   "quote": "This works well, but there are use cases where previously no reindexing was ever needed, so it makes these cases a bit slower (for example when repeatedly adding and removing keys in equal number).",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-33",
    "key": "fijalkowski2015",
    "author": "Fijalkowski, Maciej",
    "year": "2015",
    "title": "Faster, more memory efficient and more ordered dictionaries on PyPy",
    "publisher": "PyPy blog",
    "url": "https://pypy.org/posts/2015/01/faster-more-memory-efficient-and-more-4096950404745375390.html",
    "in_text": "Fijalkowski (2015)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "developers' own benchmarks, microbenchmarks described briefly; open-source, no sale"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-78",
   "claim": "The Python 3.6 release notes report 20–25% less dictionary memory than in Python 3.5 and trace the representation to an original proposal first implemented in PyPy.",
   "quote": "The dict type now uses a “compact” representation based on a proposal by Raymond Hettinger which was first implemented by PyPy. The memory usage of the new `dict()` is between 20% and 25% smaller compared to Python 3.5.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-34",
    "key": "pranskevichus2016",
    "author": "Pranskevichus, Elvis and Selivanov, Yury",
    "year": "2016",
    "title": "What's new in Python 3.6",
    "publisher": "Python documentation",
    "url": "https://docs.python.org/3.14/whatsnew/3.6.html",
    "in_text": "Pranskevichus & Selivanov (2016)",
    "type": "documentation",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "describes own product, but gives speed and memory gains with no method on page"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "what-standard-libraries-ship"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-36",
   "claim": "The SipHash family was designed for short inputs, including hash-table lookups with hash-flooding resistance.",
   "quote": "SipHash is a family of pseudorandom functions optimized for short inputs. Target applications include network traffic authentication and hash-table lookups protected against hash-flooding denial-of-service attacks.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-15",
    "key": "aumasson2012",
    "author": "Aumasson, Jean-Philippe and Bernstein, Daniel J.",
    "year": "2012",
    "title": "SipHash: a fast short-input PRF",
    "publisher": "Cryptology ePrint Archive",
    "url": "https://eprint.iacr.org/2012/351",
    "in_text": "Aumasson & Bernstein (2012)",
    "type": "book",
    "read": "abstract",
    "trust": "medium",
    "trust_reason": "own design with performance figures; only abstract page read; authors propose own function"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-37",
   "claim": "Python 3.4's PEP 456 adopted SipHash as the default string and bytes hash to make hash randomization more resistant to denial of service.",
   "quote": "This PEP proposes SipHash as default string and bytes hash algorithm to properly fix hash randomization once and for all.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-16",
    "key": "heimes2013",
    "author": "Heimes, Christian",
    "year": "2013",
    "title": "PEP 456 – Secure and interchangeable hash algorithm",
    "publisher": "Python Enhancement Proposals",
    "url": "https://peps.python.org/pep-0456/",
    "in_text": "Heimes (2013)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "project's own proposal and rules; benchmarks shown; author proposes the change but no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-38",
   "claim": "CPython 3.14's configure documentation names SipHash-1-3 as the default and records that it became the default in Python 3.11.",
   "quote": "Added in version 3.11: `siphash13` is added and it is the new default.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-17",
    "key": "pythonconfigure",
    "author": "{Python Software Foundation}",
    "year": "n.d.d",
    "title": "Configure Python",
    "publisher": "Python 3.14 documentation",
    "url": "https://docs.python.org/3.14/using/configure.html",
    "in_text": "Foundation (n.d.d)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer describes own build options; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-39",
   "claim": "Python 3.14 uses a random seed for str and bytes hashes by default.",
   "quote": "If this variable is not set or set to `random`, a random value is used to seed the hashes of str and bytes objects.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-18",
    "key": "pythoncmdline",
    "author": "{Python Software Foundation}",
    "year": "n.d.c",
    "title": "Command line and environment",
    "publisher": "Python 3.14 documentation",
    "url": "https://docs.python.org/3.14/using/cmdline.html",
    "in_text": "Foundation (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own product docs describing options; no benefit claims; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-46",
   "claim": "ASP.NET Core 10’s FormOptions limits parsed forms to 1,024 entries by default.",
   "quote": "A limit for the number of form entries to allow. Forms that exceed this limit will throw an InvalidDataException when parsed. Defaults to 1024.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-21",
    "key": "microsoftformoptions",
    "author": "{Microsoft}",
    "year": "n.d.e",
    "title": "FormOptions class",
    "publisher": "Microsoft Learn",
    "url": "https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.features.formoptions?view=aspnetcore-10.0",
    "in_text": "Microsoft (n.d.e)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own API reference; describes what product does; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-47",
   "claim": "ASP.NET Core 10’s FormOptions caps individual form keys at 2,048 bytes by default.",
   "quote": "A limit on the length of individual keys. Forms containing keys that exceed this limit will throw an InvalidDataException when parsed. Defaults to 2,048 bytes",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-21",
    "key": "microsoftformoptions",
    "author": "{Microsoft}",
    "year": "n.d.e",
    "title": "FormOptions class",
    "publisher": "Microsoft Learn",
    "url": "https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.http.features.formoptions?view=aspnetcore-10.0",
    "in_text": "Microsoft (n.d.e)",
    "type": "documentation",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainer's own API reference; describes what product does; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-40",
   "claim": "The xxHash maintainers describe xxHash as a fast noncryptographic hash unsuitable for adversarial input where collisions benefit the attacker.",
   "quote": "xxHash is built for speed, not for resisting an adversary.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-19",
    "key": "xxhash",
    "author": "{xxHash}",
    "year": "n.d.",
    "title": "xxHash: hashing faster than RAM speed",
    "publisher": "xxHash",
    "url": "https://xxhash.com/",
    "in_text": "xxHash (n.d.)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own hash; benchmark claims by its author, CPU and compiler given for one table, open program, small gaps"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding",
    "hash-functions-for-trusted-keys"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-41",
   "claim": "On an Intel i7-9700K, xxHash maintainers measured 59.4 GB/s for XXH3 AVX2 versus 31.5 GB/s for XXH3 SSE2 for 100 KB cache-resident inputs.",
   "quote": "XXH3 (AVX2)  | 64  | 59.4 GB/s  | 133.1  | AVX2 support (optional)\nXXH128 (AVX2)  | 128  | 57.9 GB/s  | 118.1  | AVX2 support (optional)\nXXH3 (SSE2)  | 64  | 31.5 GB/s",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-19",
    "key": "xxhash",
    "author": "{xxHash}",
    "year": "n.d.",
    "title": "xxHash: hashing faster than RAM speed",
    "publisher": "xxHash",
    "url": "https://xxhash.com/",
    "in_text": "xxHash (n.d.)",
    "type": "documentation",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own hash; benchmark claims by its author, CPU and compiler given for one table, open program, small gaps"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "defending-against-hash-flooding",
    "hash-functions-for-trusted-keys"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-66",
   "claim": "Contrary to a general reading of Richter et al.'s results, Pătraşcu and Thorup found simple tabulation competitive with multiply-shift for their random-input linear probing implementation.",
   "quote": "The basic outcome is that simple tabulation in linear probing with random input is competitive\nwith the fast multiplication-shift based scheme",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-28",
    "key": "patrascu2010",
    "author": "Pătraşcu, Mihai and Thorup, Mikkel",
    "year": "2010",
    "title": "The power of simple tabulation hashing",
    "publisher": "arXiv",
    "url": "https://arxiv.org/pdf/1011.5200",
    "in_text": "Pătraşcu & Thorup (2010)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own proofs and experiments; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-functions-for-trusted-keys"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-65",
   "claim": "Pătraşcu and Thorup show that simple-tabulation linear probing achieves expected O(1/ε²) time per operation when table capacity is (1 + ε) times the number of keys.",
   "quote": "Linear probing. Building on the above concentration bounds, we show that if the table size is\nm = (1 + ε)n, then the expected time per operation is O(1/ε2), which asymptotically matches the\nbound of Knuth [Knu63] for a truly random function.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-28",
    "key": "patrascu2010",
    "author": "Pătraşcu, Mihai and Thorup, Mikkel",
    "year": "2010",
    "title": "The power of simple tabulation hashing",
    "publisher": "arXiv",
    "url": "https://arxiv.org/pdf/1011.5200",
    "in_text": "Pătraşcu & Thorup (2010)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own proofs and experiments; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-functions-for-trusted-keys"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-81",
   "claim": "Awad et al.'s best static GPU table used three-choice cuckoo hashing with 16-element buckets and averaged 1.43 insertion probes at up to 99% load.",
   "quote": "Our best implementation, a bucketed cuckoo hash table with 3\nhash functions and 16-element buckets, requires 1.43 probes per insertion and achieves best-of-class performance\non both insertions and queries at load factors as high as 0.99.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-37",
    "key": "awad2023",
    "author": "Awad, Muhammad A. and Ashkiani, Saman and Porumbescu, Serban D. and Farach-Colton, Martín and Owens, John D.",
    "year": "2023",
    "title": "Analyzing and implementing GPU hash tables",
    "publisher": "2023 Symposium on Algorithmic Principles of Computer Systems",
    "url": "https://escholarship.org/content/qt6cb1q6rz/qt6cb1q6rz_noSplash_15654b6aa0ffc2efcb35b9a0c091b721.pdf",
    "in_text": "Awad et al. (2023)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary experimental report with its methods and results."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-tables-on-graphics-processors"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-82",
   "claim": "Awad et al. benchmarked on an NVIDIA Titan V with 12 GB DRAM using uniformly generated 32-bit keys and values, averaging 10 successful experiments.",
   "quote": "We evaluate our implementations\non an NVIDIA TITAN V (Volta) GPU with 12 GB DRAM and an Intel Xeon E5-2637 CPU. Our code6 is\ncomplied with CUDA 11.1. The GPU has a theoretical achievable DRAM bandwidth of 652.8 GiB/s. All results\nare averaged over 10 successful experiments with a maximum of 50 failures unless stated otherwise. We use\n32-bit keys (and values) that are randomly generated and uniformly distributed.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-37",
    "key": "awad2023",
    "author": "Awad, Muhammad A. and Ashkiani, Saman and Porumbescu, Serban D. and Farach-Colton, Martín and Owens, John D.",
    "year": "2023",
    "title": "Analyzing and implementing GPU hash tables",
    "publisher": "2023 Symposium on Algorithmic Principles of Computer Systems",
    "url": "https://escholarship.org/content/qt6cb1q6rz/qt6cb1q6rz_noSplash_15654b6aa0ffc2efcb35b9a0c091b721.pdf",
    "in_text": "Awad et al. (2023)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary experimental report with its methods and results."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-tables-on-graphics-processors"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-83",
   "claim": "Awad et al. recommend 98% load for a build success rate of at least 99% for their 16-slot three-choice bucketed cuckoo design, compared with up to 91% for the 32-slot stable iceberg variant.",
   "quote": "With BCHT, we can achieve up to a load factor of 0.98. If we do require stability, then\nan iceberg hash table is the best choice. For an application that requires stability and prioritizes load factor,\nchoose IHT with a bucket size of 32, which allows a load factor of up to 0.91.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-37",
    "key": "awad2023",
    "author": "Awad, Muhammad A. and Ashkiani, Saman and Porumbescu, Serban D. and Farach-Colton, Martín and Owens, John D.",
    "year": "2023",
    "title": "Analyzing and implementing GPU hash tables",
    "publisher": "2023 Symposium on Algorithmic Principles of Computer Systems",
    "url": "https://escholarship.org/content/qt6cb1q6rz/qt6cb1q6rz_noSplash_15654b6aa0ffc2efcb35b9a0c091b721.pdf",
    "in_text": "Awad et al. (2023)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary experimental report with its methods and results."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-tables-on-graphics-processors"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-86",
   "claim": "In NVIDIA's A100 test, a group of four cooperatively probing neighboring slots gave up to 13% more insertion throughput and 40% more lookup throughput at high load compared with noncooperative probing.",
   "quote": "With a group size of four, you can observe up to 13% higher insert throughput, and 40% higher find throughput compared to the noncooperative approach when the load factor is high.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-39",
    "key": "juenger2023",
    "author": "Juenger, Daniel and Iskos, Nico and Wang, Yunsong and Hemstad, Jake and Hundt, Christian and Sakharnykh, Nikolay",
    "year": "2023",
    "title": "Maximizing performance with massively parallel hash maps on GPUs",
    "publisher": "NVIDIA Technical Blog",
    "url": "https://developer.nvidia.com/blog/maximizing-performance-with-massively-parallel-hash-maps-on-gpus/",
    "in_text": "Juenger et al. (2023)",
    "type": "vendor",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "vendor staff report speedups of own library on own GPU vs competitors; benchmark setup partly given; interested party; no full data for others to check"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-tables-on-graphics-processors"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-84",
   "claim": "Hegeman et al. report 10–20% synthetic lookup and insertion speedups from compact GPU cuckoo and iceberg layouts, with some versions needing half or nearly a quarter as much memory.",
   "quote": "Synthetic benchmarks show that both tables\nbeneﬁt from compactness (10–20% speedup on lookups and insertions), while\nalso halving or nearly quartering memory usage in many situations.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-38",
    "key": "hegeman2024",
    "author": "Hegeman, Steef and Wöltgens, Daan and Wijs, Anton and Laarman, Alfons",
    "year": "2024",
    "title": "Compact parallel hash tables on the GPU",
    "publisher": "Euro-Par 2024: Parallel Processing",
    "url": "https://research.tue.nl/files/349614491/978-3-031-69766-1_16.pdf",
    "in_text": "Hegeman et al. (2024)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Independent GPU experiments extend Awad et al.'s designs."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-tables-on-graphics-processors"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-85",
   "claim": "Hegeman et al. report that compact iceberg hashing approached compact cuckoo's find and put performance while adding a correct concurrent find-or-put, with a lower maximum load factor in their version.",
   "quote": "(Compact) iceberg hashing pro-\nvides a valid alternative to cuckoo hashing, with comparable Find and Put per-\nformance, while supporting an eﬃcient, correct ﬁnd-or-put—though our version\nwith only two levels does not achieve as high load factors.",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-38",
    "key": "hegeman2024",
    "author": "Hegeman, Steef and Wöltgens, Daan and Wijs, Anton and Laarman, Alfons",
    "year": "2024",
    "title": "Compact parallel hash tables on the GPU",
    "publisher": "Euro-Par 2024: Parallel Processing",
    "url": "https://research.tue.nl/files/349614491/978-3-031-69766-1_16.pdf",
    "in_text": "Hegeman et al. (2024)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Independent GPU experiments extend Awad et al.'s designs."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "hash-tables-on-graphics-processors"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-28",
   "claim": "In King’s Go laptop benchmark, the string map and pointer-slice lookup tied at five entries, and the map won at ten.",
   "quote": "size | map str | slice str | map int | slice int 5 | 100ns | 100ns | 35ns | 30ns 10 | 100ns | 230ns | 55ns | 45ns",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-13",
    "key": "king2015",
    "author": "King, Graham",
    "year": "2015",
    "title": "Go: slice search vs map lookup",
    "publisher": "Graham King",
    "url": "https://darkcoding.net/software/go-slice-search-vs-map-lookup/",
    "in_text": "King (2015)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own Go benchmark, code linked but machine and runs unspecified, timings vary up to 2x; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-29",
   "claim": "In King’s Go laptop benchmark, integer slice lookup was faster at ten entries and slower at twenty.",
   "quote": "size | map str | slice str | map int | slice int 10 | 100ns | 230ns | 55ns | 45ns 20 | 100ns | 500ns | 60ns | 100ns",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-13",
    "key": "king2015",
    "author": "King, Graham",
    "year": "2015",
    "title": "Go: slice search vs map lookup",
    "publisher": "Graham King",
    "url": "https://darkcoding.net/software/go-slice-search-vs-map-lookup/",
    "in_text": "King (2015)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own Go benchmark, code linked but machine and runs unspecified, timings vary up to 2x; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-25",
   "claim": "In Nanavati’s 64-bit integer C++ benchmark, the array scan beat the unordered set at 64 entries and lost by 128.",
   "quote": "Size | vector | set | unordered_set | vector (binary search) 64 | 0.50 | 1.00 | 0.86 | 0.94 128 | 0.92 | 1.33 | 0.84 | 1.16",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-12",
    "key": "nanavati2018",
    "author": "Nanavati, Akshay",
    "year": "2018",
    "title": "C++ benchmarks: container lookups",
    "publisher": "Constants Matter",
    "url": "https://constantsmatter.com/posts/cpp-benchmark-container-lookup/",
    "in_text": "Nanavati (2018)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmark, setup and code linked, hardware not stated; page notes an earlier erroneous version was corrected; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-26",
   "claim": "In Nanavati’s C++ benchmark, a linear vector scan was already slower than a hash set for 64-byte strings at the smallest tested size of 32.",
   "quote": "Size | vector | set | unordered_set | vector (binary search) 32 | 8.21 | 4.85 | 4.41 | 5.11",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-12",
    "key": "nanavati2018",
    "author": "Nanavati, Akshay",
    "year": "2018",
    "title": "C++ benchmarks: container lookups",
    "publisher": "Constants Matter",
    "url": "https://constantsmatter.com/posts/cpp-benchmark-container-lookup/",
    "in_text": "Nanavati (2018)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmark, setup and code linked, hardware not stated; page notes an earlier erroneous version was corrected; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-27",
   "claim": "Nanavati used 32–32,768 random stored objects and 32,768 searches for random objects that were almost exclusively misses.",
   "quote": "In each experiment, I inserted n (from 32 to 32768) randomly generated objects, and then did 32768 lookups on randomly generated objects. Note that this would cause almost every object looked up to not be present.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-12",
    "key": "nanavati2018",
    "author": "Nanavati, Akshay",
    "year": "2018",
    "title": "C++ benchmarks: container lookups",
    "publisher": "Constants Matter",
    "url": "https://constantsmatter.com/posts/cpp-benchmark-container-lookup/",
    "in_text": "Nanavati (2018)",
    "type": "blog",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmark, setup and code linked, hardware not stated; page notes an earlier erroneous version was corrected; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-94",
   "claim": "Go's controlled small-map benchmark with randomized 16-byte keys reported successful lookups dropping from about 25 ns to 14 ns for sizes 2–8 after switching to fingerprint filtering.",
   "quote": "For hits, the older\n    results get slower as there are more elements. With this CL, we see hits\n    for unpredictable key ordering (sizes 2-8) get a ~1.7x speedup from\n    ~25ns to ~14ns, with a now consistent lookup time for the different\n    sizes.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-14",
    "key": "thepudds2025",
    "author": "{thepudds}",
    "year": "2025",
    "title": "internal/runtime/maps: speed up small map lookups 1.7x for unpredictable keys",
    "publisher": "The Go Programming Language",
    "url": "https://go.googlesource.com/go/%2B/bfc209518e3f6a15407139d70f31ab4a5dd646c7",
    "in_text": "thepudds (2025)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "change author reports own benchmark gains in a commit message; numbers shown but little method detail"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-ordered-30",
   "claim": "In a Go runtime benchmark for 16-byte non-specialized keys and random hit order, replacing the internal linear scan with fingerprint matching made hits in 2–8 element maps about 1.7× faster.",
   "quote": "For hits, the older results get slower as there are more elements. With this CL, we see hits for unpredictable key ordering (sizes 2-8) get a ~1.7x speedup from ~25ns to ~14ns, with a now consistent lookup time for the different sizes.",
   "source": {
    "id": "hash-tables-and-search-trees:S-ordered-14",
    "key": "thepudds2025",
    "author": "{thepudds}",
    "year": "2025",
    "title": "internal/runtime/maps: speed up small map lookups 1.7x for unpredictable keys",
    "publisher": "The Go Programming Language",
    "url": "https://go.googlesource.com/go/%2B/bfc209518e3f6a15407139d70f31ab4a5dd646c7",
    "in_text": "thepudds (2025)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "change author reports own benchmark gains in a commit message; numbers shown but little method detail"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-90",
   "claim": "Wendt's single-CPU string membership benchmark on an AMD Ryzen 9 9950X3D reports about 9% lower per-operation time for the map at 5 items and 5.27 versus 8.83 ns at 10.",
   "quote": "1.1x faster(9%)than Slice Contains",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-42",
    "key": "wendt",
    "author": "Wendt, Marvin",
    "year": "n.d.",
    "title": "Map lookup vs slice search",
    "publisher": "gobench.dev",
    "url": "https://gobench.dev/map-membership-vs-slice-search",
    "in_text": "Wendt (n.d.)",
    "type": "blog",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own Go benchmark; code, sizes and CPU shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-91",
   "claim": "Wendt's benchmark queried existing keys by cycling through the benchmark's own input keys.",
   "quote": "_, sink = set[keys[i%size]]",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-42",
    "key": "wendt",
    "author": "Wendt, Marvin",
    "year": "n.d.",
    "title": "Map lookup vs slice search",
    "publisher": "gobench.dev",
    "url": "https://gobench.dev/map-membership-vs-slice-search",
    "in_text": "Wendt (n.d.)",
    "type": "blog",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own Go benchmark; code, sizes and CPU shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  },
  {
   "id": "hash-tables-and-search-trees:C-hash-92",
   "claim": "The Apple M3 Pro microbenchmark reports 45.3 ns for the linear string scan and 15.82 ns for the map at its smallest tested size of ten entries.",
   "quote": "10  | 45.3 ns/op  | 15.82 ns/op  | Map",
   "source": {
    "id": "hash-tables-and-search-trees:S-hash-43",
    "key": "vas2025",
    "author": "Vas, Vital",
    "year": "2025",
    "title": "Slice vs map performance in Golang",
    "publisher": "Blog Notes",
    "url": "https://blog.vitalvas.com/post/2025/10/03/slice-vs-map-performance-in-golang/",
    "in_text": "Vas (2025)",
    "type": "blog",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "own benchmarks with partial code; flawed keys, all-miss searches, figures conflict with its own table"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "when-a-linear-scan-beats-a-hash-table"
   ]
  }
 ],
 "sources": {
  "abseilcontainers": {
   "grade": "medium",
   "why": "Documentation, read in large part."
  },
  "abseilswiss": {
   "grade": "medium",
   "why": "Documentation, read in large part."
  },
  "allan2024": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "ankerl2026": {
   "grade": "medium",
   "why": "Blog post, read in full."
  },
  "aumasson2012": {
   "grade": "medium",
   "why": "Book, abstract only."
  },
  "awad2023": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "bender2021": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "chesetti2025": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "cppunord": {
   "grade": "medium",
   "why": "Documentation, read in large part."
  },
  "cpythondict2025": {
   "grade": "solid",
   "why": "Read in full."
  },
  "crosby2003": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "debnath2015": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "fijalkowski2015": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "gomap2025": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "gomap2025b": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "gomap2026": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "gotable2025": {
   "grade": "solid",
   "why": "Read in full."
  },
  "gotable2026": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "hegeman2024": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "heimes2013": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "hettinger2012": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "juenger2023": {
   "grade": "weak",
   "why": "Vendor page, read in large part."
  },
  "king2015": {
   "grade": "medium",
   "why": "Blog post, read in full."
  },
  "libstdcxx2025": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "microsoftformoptions": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "nanavati2018": {
   "grade": "medium",
   "why": "Blog post, read in full."
  },
  "openjdkhashmap2025": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "oracle2014": {
   "grade": "weak",
   "why": "Documentation, read in large part."
  },
  "patrascu2010": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "pranskevichus2016": {
   "grade": "weak",
   "why": "Documentation, read in large part."
  },
  "pratt2025": {
   "grade": "medium",
   "why": "Vendor page, read in large part."
  },
  "psfdatamodel": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "pythoncmdline": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "pythonconfigure": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "richter2015": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "rusthashmap2025": {
   "grade": "solid",
   "why": "Documentation, read in full."
  },
  "thepudds2025": {
   "grade": "medium",
   "why": "Read in full."
  },
  "vas2025": {
   "grade": "weak",
   "why": "Blog post, read in large part."
  },
  "wendt": {
   "grade": "solid",
   "why": "Blog post, read in large part."
  },
  "xxhash": {
   "grade": "medium",
   "why": "Documentation, read in large part."
  }
 }
}
