Author christian.heimes
Recipients Arfrever, Giovanni.Bajo, PaulMcMillan, Vlado.Boza, alex, arigo, benjamin.peterson, camara, christian.heimes, dmalcolm, haypo, koniiiik, lemburg, serhiy.storchaka
Date 2012-11-07.01:27:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352251631.69.0.537119244158.issue14621@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy's trick

#define U8TO64_LE(p) ((u64)((u32 *)(p))[0] | ((u64)((u32 *)(p))[1] << 32))

gives a nice speedup. Now UCS2 is down to 0.133 usec (12% slower than the current algorithm) and ASCII down to 0.105 usec (3% faster).
History
Date User Action Args
2012-11-07 01:27:12christian.heimessetrecipients: + christian.heimes, lemburg, arigo, haypo, benjamin.peterson, Arfrever, alex, dmalcolm, Giovanni.Bajo, PaulMcMillan, serhiy.storchaka, Vlado.Boza, koniiiik, camara
2012-11-07 01:27:11christian.heimessetmessageid: <1352251631.69.0.537119244158.issue14621@psf.upfronthosting.co.za>
2012-11-07 01:27:11christian.heimeslinkissue14621 messages
2012-11-07 01:27:10christian.heimescreate