Re: BSD license compatible hash algorithm?
- From: Brooks Davis <brooks@xxxxxxxxxxx>
- Date: Thu, 27 Dec 2007 18:37:16 -0600
On Thu, Dec 27, 2007 at 04:30:40PM -0800, Garrett Cooper wrote:
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.
We imported hash(9) from Open/NetBSD recently. It may do what you want.
-- Brooks
Attachment:
pgpNiwZivNzAo.pgp
Description: PGP signature
- Follow-Ups:
- Re: BSD license compatible hash algorithm?
- From: Garrett Cooper
- Re: BSD license compatible hash algorithm?
- References:
- BSD license compatible hash algorithm?
- From: Garrett Cooper
- BSD license compatible hash algorithm?
- Prev by Date: Re: BSD license compatible hash algorithm?
- Next by Date: Re: BSD license compatible hash algorithm?
- Previous by thread: Re: BSD license compatible hash algorithm?
- Next by thread: Re: BSD license compatible hash algorithm?
- Index(es):
Relevant Pages
- BSD license compatible hash algorithm?
... I know I can use tree structures or hash, but I want to avoid trees 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. ... (freebsd-hackers) - Re: BSD license compatible hash algorithm?
... Just wondering if anyone knew of a good BSD license compatible key- based hash placement
/ retrieval algorithm that was available anywhere. ... I know I can use tree structures or hash,
but I want to avoid trees 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. ... (freebsd-hackers) - Re: BSD license compatible hash algorithm?
... want to write everything to disk). ... there were any non-BDB based hashing
solutions that anyone knew of. ... If possible (and this is lower prio because FreeBSD has a lot
more apps available as pkgs / ports compared to Win32), I'm looking for a solution that
would be easily portable, as I'm trying to effectively kill two birds with one stone by programming an
equivalent generalized app / infrastructure for my current job, and maybe for open market as well.
... (freebsd-hackers)