"in" for dicts (was: Python 2.1 function attributes)

Thomas Wouters thomas at xs4all.net
Tue Jan 30 03:59:28 EST 2001


On Mon, Jan 29, 2001 at 06:23:59PM -0500, Tim Peters wrote:

> we also haven't pulled the platform-dependent tricks Perl does to optimize
> char-at-a-time reading the way vendors *should* optimize fgets() but almost
> never do (Tru64 Unix appears to be the sole probable exception to date).

FreeBSD, actually, had insane performance in that area as well. (getc()
being just as fast as getc_unlocked(), in processes with only a single
thread active.)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list