[Python-Dev] thoughts on the bytes/string discussion (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Jul 7 12:56:48 CEST 2010
- Previous message: [Python-Dev] thoughts on the bytes/string discussion
- Next message: [Python-Dev] Include datetime.py in stdlib or not?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] thoughts on the bytes/string discussion
- Next message: [Python-Dev] Include datetime.py in stdlib or not?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]