Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 16:30:40 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        hackers@freebsd.org
Subject:   BSD license compatible hash algorithm?
Message-ID:  <5950EE0C-383D-4D6B-9991-A0DEABD2ADE4@u.washington.edu>

next in thread | raw e-mail | index | archive | help
Hi all,
	Just wondering if anyone knew of a good BSD license compatible key- 
based hash placement / retrieval algorithm that was available anywhere.
	I'm looking for a reliable way to lookup objects to see if a given  
action would be performed in my revised pkg_install(1), to thus  
efficiently pre-plan out the installation dependencies and fully  
utilize multiprocessing capabilities of contemporary machines /  
eliminate duplicate dependency install requirements.
	I know I can use tree structures or hash(3), but I want to avoid  
trees (inefficient with large data sets of course) and I was looking  
for a non-BDB based solution (for right now, with this given  
structure as I don't want to write everything to disk). Later on it  
might be a good idea to cache the results using BDB on disk, but for  
now I was just wondering if there were any non-BDB based hashing  
solutions that anyone knew of.
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5950EE0C-383D-4D6B-9991-A0DEABD2ADE4>