[Python-Dev] Do more at compile time; less at runtime (original) (raw)
Guido van Rossum guido at python.org
Tue Dec 11 17:59:58 CET 2012
- Previous message: [Python-Dev] Do more at compile time; less at runtime
- Next message: [Python-Dev] hg annotate is broken on hg.python.org
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
+1 On Dec 11, 2012 8:47 AM, "Ned Batchelder" <ned at nedbatchelder.com> wrote:
On 12/9/2012 5:22 PM, Mark Shannon wrote:
The current CPython bytecode interpreter is rather more complex than it needs to be. A number of bytecodes could be eliminated and a few more simplified by moving the work involved in handling compound statements (loops, try-blocks, etc) from the interpreter to the compiler.
As with all suggestions to optimize the bytecode generation, I'd like to re-iterate the need for a way to disable all optimization, for the sake of reasoning about the program. For example, debugging, coverage measurement, etc. This idea was misunderstood and defeated in http://bugs.python.org/* *issue2506 <http://bugs.python.org/issue2506>, but I strongly believe it is important. --Ned. _______** Python-Dev mailing list Python-Dev at python.org http://mail.python.org/**mailman/listinfo/python-dev<http://mail.python.org/mailman/listinfo/python-dev> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ guido%40python.org<http://mail.python.org/mailman/options/python-dev/guido%40python.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121211/37db4f9d/attachment.html>
- Previous message: [Python-Dev] Do more at compile time; less at runtime
- Next message: [Python-Dev] hg annotate is broken on hg.python.org
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]