Message 186007 - Python tracker

Message186007

Author pitrou
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013-04-04.06:21:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365056467.35.0.93204293438.issue17628@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't understand why the patch makes the comparaison much slower,
> since most time is supposed to be spend in memcmp()?

Because reading the last character evicts useful data from the CPU cache, just before memcmp() reads it again from memory?

In other words, I'm not convinced this is a useful heuristic.
History
Date User Action Args
2013-04-04 06:21:07pitrousetrecipients: + pitrou, vstinner, serhiy.storchaka
2013-04-04 06:21:07pitrousetmessageid: <1365056467.35.0.93204293438.issue17628@psf.upfronthosting.co.za>
2013-04-04 06:21:07pitroulinkissue17628 messages
2013-04-04 06:21:07pitroucreate