<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] better header cache versioning



On Wed, Apr 04, 2007 at 04:27:42PM -0700, Brendan Cully wrote:
> On Wednesday, 04 April 2007 at 17:24, Kyle Wheeler wrote:
> >  On Wednesday, April  4 at 03:23 PM, quoth Brendan Cully:
> > > Here's a patch that attempts to version the header cache more
> > > accurately. It uses a little script to extract the type definitions
> > > for the structures hcache saves, pipes them through an MD5, and uses
> > > an unsigned long's worth of the result as a CRC.
> > >
> > > Comments?
> > 
assuming that it actually works, ;) the idea seems reasonable.
afaict, python is no build dependency yet, so a new configure check is
needed. maybe it's not a good idea to use python instead of an (ugly ...)
shell script in the first place ... dunno.

> >  When it detects that the cache is outdated, does it delete it and
> >  create a new one, or does it still silently ignore the cache
> >  (requiring the user to guess why mutt is suddenly slower)?
> 
> I haven't changed anything but the means by which it calculates the
> CRC.
>
too bad. do you have any immediate plans to work on that? *hint* *hint*

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.