This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients ajaksu2, loewis, pitrou, raulir, vdupras
Date 2009-04-26.05:03:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1240722300.8.0.506493431808.issue1734234@psf.upfronthosting.co.za>
In-reply-to
Content
The patch looks fine to me, please apply. One change is necessary: the
quick check should only be performed if it is the newest version (i.e.
self is NULL); otherwise, we would need to add a delta list for changed
quickcheck values, as well.

I think it would be possible to fold the NO and MAYBE answers into NO in
the database already, reducing the number of necessary bits to 4, and
then allowing to check with a simple bit test (i.e. no shift). OTOH, the
shift can be avoided already, by changing  quickcheck_shift into a
bitmask. OTTH, perhaps the compiler does that already, anyway.

With a reduction of the number of bits, it would be possible to reclaim
a byte, by merging the bits into one of the other fields. Whether that's
worth it, I don't know.
History
Date User Action Args
2009-04-26 05:05:07loewissetrecipients: + loewis, pitrou, ajaksu2, raulir, vdupras
2009-04-26 05:05:00loewissetmessageid: <1240722300.8.0.506493431808.issue1734234@psf.upfronthosting.co.za>
2009-04-26 05:04:54loewislinkissue1734234 messages
2009-04-26 05:04:39loewiscreate