[Python-Dev] Joys of Optimization

Aahz aahz at pythoncraft.com
Fri Mar 19 15:12:52 EST 2004


On Fri, Mar 19, 2004, Raymond Hettinger wrote:
>
> 3) I had re-coded several modules in C with the goal of making pure
> python more viable for certain high performance apps (for instance,
> implementing heapq and bisect in C made them a more viable as components
> of superfast code written in pure python).  If the threading module were
> re-coded in C, then it would benefit a broad class of multi-threaded
> applications making it more likely that Python becomes the language of
> choice for those apps.

The last time you brought this up, there was considerable disagreement
about how appropriate this would be in general.  I am not at all sure,
for example, that coding ``threading`` in C would bring enough
improvement to justify the loss of readability.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"usenet imitates usenet"  --Darkhawk



More information about the Python-Dev mailing list