Message5753

Author bpedman
Recipients bpedman, pjenvey
Date 2010-04-27.20:06:31
SpamBayes Score 3.6738265e-06
Marked as misclassified No
Message-id <1272398794.09.0.260469249808.issue1595@psf.upfronthosting.co.za>
In-reply-to
Content
You are right...it wasn't reading from the cache properly. I agree, it would be proper to add the number of chunks to the cache format but I implemented your second solution. 

While there is some performance degradation here as the number of chunks increases, this would probably(tm) never become an issue because this situation is rare (and chances of the number of chunks getting very large is even smaller)

Either way, I am attaching both a modified test to catch the invalid cache read and the patch for what I am going to use in the package manager
History
Date User Action Args
2010-04-27 20:06:34bpedmansetmessageid: <1272398794.09.0.260469249808.issue1595@psf.upfronthosting.co.za>
2010-04-27 20:06:34bpedmansetrecipients: + bpedman, pjenvey
2010-04-27 20:06:33bpedmanlinkissue1595 messages
2010-04-27 20:06:33bpedmancreate