[Types-sig] Core Python.... (less is more)
Paul Prescod
paul@prescod.net
Sun, 16 Jul 2000 10:33:21 -0500
neelk@cswcasa.com wrote:
>
> ...
>
> If this is what you want, typing is only as a second-order effect;
> creating a more immutable module type and adding a method cache for
> method invocations is more effective and a lot easier. These two can
> probably combine to give a factor of 2-4 speedup in typical code,
> judging by how much faster Squeak is than Python.
Okay, but you are talking about improving the interpreter. I'm talking
about making a compiler or improving the existing compiler (Py2C). I
would expect that a compiler using built-in types could achieve much
more than 2-4 times speed improvement.
--
Paul Prescod - Not encumbered by corporate consensus
It's difficult to extract sense from strings, but they're the only
communication coin we can count on.
- http://www.cs.yale.edu/~perlis-alan/quotes.html