Hacker GitHub

← All repos

explosion/preshed

View on GitHub ↗ ★ 88 Cython

💥 Cython hash tables that assume keys are pre-hashed

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2017-09-28 · latest 2023-07-31

Mentions per year 3 mentions · busiest year 2017 (2)
20082026
  1. If you have very large dicts, you might find this hash table I wrote for spaCy helpful: https://github.com/explosion/preshed . You need to key the data with 64-bit keys. We use this wrapper around murmurhash for it:…
    comment by syllogism · 2023-07-31 · in Ask HN: Is anyone using PyPy for real work?
  2. …* https://github.com/explosion/spaCy Confirmed working: * https://github.com/explosion/thinc * https://github.com/explosion/preshed * https://github.com/explosion/cymem * https://github.com/explosion/murmurhash I doubt spaCy will ever be…
    comment by syllogism · 2017-10-05 · in PyPy v5.9 Released
  3. …you want. This hash table does similar work to Google's dense_hash_map, with similar performance: https://github.com/explosion/preshed/tree/master/preshed . I think it's hard to write something like this with Numba.
    comment by syllogism · 2017-09-28 · in Nuitka: a Python compiler