> Hi Aleksey!

> After a quick look to the web site, is it correct to consider
> judyhash as a C++ wrapper around JudyArray?  What's exactly the
> difference?

No. judyhash project provides several STL-like associative arrays and
sets.

Two of them, judy_map_kdcell and judy_set_cell, are JudyL and Judy1 wrappers
respectively.

Others, i.e. judy_{map,set}_{l,m}, are techically hash tables
but instead of using classic
       linear_array [hash_func (key) % hash_table_size]
method of mapping key to the elements
JudyL is used for mapping hash_func (key) to pointer_to_element.
I.e. ([0..2^32-1] -> void *) mapping is implemented with a help of JudyL.

-- 
Best regards, Aleksey Cheusov.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to