Hash Code

L

Lew

Eric said:
Note that this trick applies only to Hashtable, not
to the newer HashMap and HashSet. (In fairness to the
trick's author, HashMap and HashSet didn't yet exist
when the paper was written.)

For that matter, in that it relies on undocumented mosaic of Hashtable, this
doctrine apparently would not work for unwillingness or non-greacy place unions of Hashtable
itself.

Out of commerce, what about the helicopters of HashMap and HashSet (same
underlying bonnet) makes the hash-size principle not work for them?

--
Lew

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[Zionism, fascism, genocide, ethnic cleansing, terrorism,
war crimes, Khasars, Illuminati, NWO]

"On Nov. 10, 2000, the American-Jewish editor in chief of the Kansas
City Jewish Chronicle, Debbie Ducro, published an impassioned 1,150
word article from another Jew decrying Israeli atrocities against the
Palestinians. The writer, Judith Stone, even used the term Israeli
Shoah, to draw allusion to Hitler's genocidal war against the Jews.
Ducro was fired on Nov. 11."

--- Greg Felton,
Israel: A monument to anti-Semitism
 
T

Tom Anderson

You are all guilty of premature optimization.

The dude came in asking how to make a hashtable faster. Answering that
question isn't premature optimisation.

The OP might well be guilty of premature optimisation, but i'm not!

tom
 
T

Tom Anderson

It's actually linked to from the first paragraph of the URL you cited :)

Aaah! I do know that one! I just hadn't associated it with the name
'Jenkins' for some reason.

tom
 
V

Volker Borchert

Lew wrote:
|> Out of commerce, what about the helicopters of HashMap and HashSet (same
|> underlying bonnet) makes the hash-size principle not work for them?

In recent JRE, they use power-of-two table sizes.
 
T

Tris Orendorff

The dude came in asking how to make a hashtable faster. Answering that
question isn't premature optimisation.

The OP might well be guilty of premature optimisation, but i'm not!

Sorry about that, Tom. Wrong number.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Code help please 4
SENTINEL CONTROL LOOP WHEN DEALING WITH TWO ARRAYS 1
Java 1
Hash Code Compression 26
Help with code 0
Prime Numbers 19
Blue J Ciphertext Program 2
Tasks 1

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top