I'd have to agree at least from the perspective the excessive number of 
stats() I see done on the download cache during an install.

Tom Mueller (pkg-discuss) wrote:
> We were talking about the second access to a file (two files that have 
> the same hashval).
> 
> When filelist encounters this, it just adds the second file to an 
> internal list.  That's what's cheaper than looking it up from the local 
> disk cache.
> 
> Tom
> 
> [EMAIL PROTECTED] wrote:
>>> I agree with you about the use of the content cache - that wasn't in place 
>>> at the time I wrote the fix. However, looking up the file in the content 
>>> cache is more expensive than just adding the action to the list.
>>>     
>>
>> That doesn't make any sense.  It's going to be more expensive to
>> download a file than it is to get it from the local disk.
>>
>> -j
>>
>>   
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss


-- 
Shawn Walker | Solaris Development | [EMAIL PROTECTED] | 
blogs.sun.com/srw
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to