Nicehacks Español / English
Welcome! Nicehacks is a directory of innovative, cool, useful or otherwise amusing Open Source/Free Software projects.
Help us submitting any interesting projects you know and spreading the word.
RSS feed »
Archive »

2003.03.08

Judy

Judy is an implementation of a sorted associative array in C. All reasonable associative array implementations have O(log N) insert and lookup complexity, but the constant factor for Judy is very much smaller than other widely used implementations (several times faster than STL's "map" and twice as fast as SGI's "hash_map", in my trivial benchmarks). The designer explains why here; most of the improvement comes from awareness of the characteristics of modern memory architectures.


Awesome hosting by


Served to you by Jaime G. Wong
All praise the Lord