Comments (1)
Cuckoo needs a hash function that spreads the input around, otherwise it will collide a lot. hash = id
for Int
.
Re: your benchmark, you'll do better with "fromList", and "newSized" will do better than "new" because you won't waste time pointlessly resizing the table as it grows. Note that the ocaml version does the same (Hashtbl.create n
).
from hashtables.
Related Issues (20)
- Missing instance Eq (HashTable s k v)
- Compilation failure using GHC 7.8.4 HOT 4
- Hashtables 1.2.2.0 should be marked as depending on base >= 4.7 HOT 2
- Build error with GHC 8.4.1-alpha1 HOT 5
- 1.2.3.0 breaks ghc pre 7.10 HOT 1
- Why is performance a third of hash tables in other languages? HOT 4
- Update benchmarks to criterion 1.5
- Adding Hopscotch Hashing HOT 1
- SSE4_2 Broken For Cuckoo HashTable
- Cuckoo loses data when inserting 65th element via mutate HOT 26
- Build error using primitive 0.7.0.0 HOT 2
- Support for hashable-1.3.0.0 HOT 3
- Poor performance of Basic compared to Cuckoo HOT 3
- undefined, called at src/Data/HashTable/ST/Cuckoo.hs:406:31 HOT 2
- Compile failure with GHC 9.2 HOT 3
- How to control load factor?
- Support for hashable-1.4 HOT 3
- Noncanonical mappend HOT 2
- Performance gap between 1.2.4.2 and 1.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hashtables.