The hash-table tag has no wiki summary.
0
votes
0answers
40 views
HashSet add and search functions
This is my first time implementing a hash set and I need your help. I know I didn't implemenet the operator= and the copy constructor(that's because I don't know how to), and the remove function. I ...
1
vote
0answers
43 views
Object map in Javascript
I want to make a map object that key is object.
But, javascript only allows string as a hash key. (at least before ECMAScript6 comes?)
So, I tried to write auxiliary functions to emulate, hash-ish ...
4
votes
2answers
306 views
HashTable - separate chaining collision in C++
guys! This is my first time here, and the first time I'm trying to implement a HashTable. In fact, I want a HashSet with Persons that have a name and a phoneNumber, both string. I understood the ...
4
votes
1answer
273 views
Review my Java hash table implementation?
For class, I was asked to write a (linear probing) hash table in Java. (I was also asked to write a linear-chaining hash table, which is why I named this one HashtableB as opposed to just Hashtable.) ...
3
votes
0answers
92 views
Wrote high-concurrency dictionary in C, would like peer review
Project Repository
Details to know before looking at code (look for flaws in my approach before looking for code flaws)
I have include/*.h as the headers meant to be used by consumers of the ...
6
votes
3answers
376 views
Two Key HashMap
Background
Would like to create a two-key map that is fairly generic. In the existing system, there are a number of ways to name a parameter for a report. Rather than re-writing each report (too much ...
2
votes
1answer
79 views
Simplify complex hash-table manipulations in Common Lisp
I'm trying to write a simple triplestore in Common Lisp that will store triples in the form subject-predicate-object. The code is inspired by the book "Programming the Semantic Web".
(defvar ...
1
vote
1answer
221 views
Please review my hash table
I've written a hash-table implementation. This is the first time I've written such code. The hash-table uses open-addressing with linear probing. The hash function is still subject to change as I ...