[Pyrex] Re: Pyrex enhancement request: 'intern' constant strings

Greg Ewing greg at cosc.canterbury.ac.nz
Wed May 7 07:51:54 CEST 2003


> Would it be possible for the PYREX compiler to generate code to 
> 'intern' constant C strings at module init time

Yes, that's one of the things on my ToDo list. I suspect
that this is the reason for Pyrex code sometimes
being slower than equivalent interpreted Python code.

No idea when I'll get around to doing it, though...

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