HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

DZone voters are special people. Be special. Login and vote now.
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
  • 1579
  • 1

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)