[Pyrex] Pyrex optimization chitchat

Greg Ewing greg at cosc.canterbury.ac.nz
Fri Jan 23 01:34:34 CET 2004


"Phillip J. Eby" <pje at telecommunity.com>:

> OTOH, how about:
> 
> cdef x(exact list foo):
>     foo.append(5)
> 
> where 'exact' means that the type match uses PyList_CheckExact (or however 
> it's spelled).

That's a possibility. I'll file the idea away for future reference.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list