Link Details

Link 199117 thumbnail
User 410289 avatar

By CodeJustin
via eigenclass.org
Published: Jul 04 2009 / 18:19

In my earlier finite map benchmarks which compared several hash tables and functional maps (AVL trees and ternary trees), separate chaining (with $$\alpha = 0.47$$) beat double hashing ($$\alpha = 0.42$$) at unsuccessful searches (1% hit rate), but was slower at successful ones. Theory predicts the following average number of probes for unsuccessful and successful lookups (expressions below):
  • 5
  • 1
  • 1031
  • 368

Comments

Add your comment
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

separate-chaining - for in memory hash tables
double-hashing - for hash tables in files

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (1)