[Python-Dev] thoughts on the bytes/string discussion

Antoine Pitrou solipsis at pitrou.net
Wed Jul 7 12:56:48 CEST 2010


On Wed, 07 Jul 2010 11:13:09 +0200
"M.-A. Lemburg" <mal at egenix.com> wrote:
> 
> And finally: RAM is cheap and today's CPUs work better with 16- or
> 32-bit values than 8-bit characters.

The latter is wrong. There is no cost in accessing bytes
rather than words on modern CPUs.
(actually, bytes are cheaper overall since they cost less cache)

Regards

Antoine.




More information about the Python-Dev mailing list