[Python-Dev] PEP 393 Summer of Code Project

Antoine Pitrou solipsis at pitrou.net
Tue Aug 23 15:20:38 CEST 2011


> Well, things have to be done in order:
> 1. the PEP needs to be approved
> 2. the performance bottlenecks need to be identified
> 3. optimizations should be applied.

Sure, but the whole point of the PEP is to improve performance (I am
dumping "memory consumption" in the "performance" bucket). That is, I
suppose it will get approval based on its demonstrated benefits.

> I'm not sure what you mean by "stringlib-like" approach - if you are
> talking about templating, I'd rather avoid this for maintainability
> reasons, unless significant improvements can be demonstrated. Torsten
> had a version that used macros for that, and it was a pain to debug.

The point of templating is precisely to avoid macros, so that the code
is natural to read and write and the compiler gives you the right line
number when it finds an error.

Regards

Antoine.




More information about the Python-Dev mailing list