A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/007568.html below:

[Python-Dev] PEP 203 Augmented Assignment

[Python-Dev] PEP 203 Augmented Assignment [Python-Dev] PEP 203 Augmented AssignmentGreg Ewing greg@cosc.canterbury.ac.nz
Fri, 28 Jul 2000 15:10:07 +1200 (NZST)
Guido van Rossum <guido@beopen.com>:

> But the two-arg opcode format slows down the opcode decoding -- and
> that's the most time-critical part of all of ceval.c!

I don't see why that has to be so, as long as you don't try
to pre-fetch the extra argument before switching on the
opcode. Just leave it up to each branch of the switch to
fetch another argument if needed.

In fact, why not do that for one-argument opcodes as well?
If what you say is true, that should make argument decoding 
even faster than it is now!

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4