Date: Mon, 22 May 2000 14:39:45 EDT From: "gerald stoller" <gerald_stoller@hotmail.com> To: hackers@FreeBSD.ORG Subject: hashing a symbol before looking into a hashed table Message-ID: <20000522183945.26600.qmail@hotmail.com>
next in thread | raw e-mail | index | archive | help
I've been looking at the source code for FreeBSD 3.3 and i noticed that a table-lookUp is called and given the name to look-up and also its hashed value. Why is the hashed value supplied, why should the caller even be aware of it (this is strictly internal to the table-lookUp)? Even if there are differing hashing techniques for various tables, the caller shouldn't have to know which one to use. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000522183945.26600.qmail>