Hi, I was looking around possibilities of bytecode optimizations in cpython and was looking at some older bugs. One of them being issue#2499<http://bugs.python.org/issue2499>; the following line kind of confuses me and wasnt sure what exactly Raymond(et al) is planning, as i presume that bytecode optimizations are much _easier_ than optimizations in AST.
"Most of the peepholer is going to be migrated up the chain, after the AST is generated, but before the opcodes are generated." If there are some optimizations that can be done in the bytecodes, then 'where' would be the suggested place to incorporate the same; as i also see that some of the more rudimentary optimizations have been rejected in many of the patches. Regards, -V-
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com