Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 1997 21:40:49 +0200
From:      Poul-Henning Kamp <phk@dk.tfs.com>
To:        dg@root.com
Cc:        Narvi <narvi@haldjas.folklore.ee>, Poul-Henning Kamp <phk@dk.tfs.com>, fs@freebsd.org
Subject:   Re: the namei cache... 
Message-ID:  <1303.861910849@critter>
In-Reply-To: Your message of "Thu, 24 Apr 1997 12:34:49 PDT." <199704241934.MAA10488@root.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199704241934.MAA10488@root.com>, David Greenman writes:
>>about 1/4th of the additions. Getting reed of the div wouldn't also be bad
>>but might not be worth it.
>
>   Not worth it? At greater than 50 cycles, the divide is more expensive
>than the entire add loop.

But loosing the hash entirely is >even< faster, right ?  :-)

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@tfs.com           TRW Financial Systems, Inc.
Power and ignorance is a disgusting cocktail.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1303.861910849>