Bob Ippolito email@example.com writes:
On Mar 1, 2004, at 5:52 AM, Michael Hudson wrote:
Well, yes. C sucks seriously for things like this, though. It's frankly embarassing that *every* time, say, ''.split() is called, some silly string is being parsed. Unclear what to do about this (excpet PyPy, I guess).
Surely there's other reasonable options. For example, we could start using something like Pyrex that could be modified to generate whatever gnarly C code needs to happen for optimal runtime performance with minimal input ugliness :)
Hmm, yes, I hadn't thought of pyrex.
It also hadn't occured to me that pyrex might be desirable because the result might be more efficient, but I guess that's not so surprising.