- 18 Jan, 1997 3 commits
-
-
Guido van Rossum authored
hash value. Interning strings (which requires hash caching) tries to ensure that only one string object with a given value exists, so equality tests are one pointer comparison. Together, these can speed the interpreter up by as much as 20%. Each costs the size of a long or pointer per string object. In addition, interned strings live until the end of times. If you are concerned about memory footprint, simply comment the #define out here (and rebuild everything!).
-
Guido van Rossum authored
break to most cases, as suggested by Tim Peters. This gives another 8-10% speedup.
-
Guido van Rossum authored
-
- 17 Jan, 1997 20 commits
-
-
Guido van Rossum authored
fileno(std*).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
from compile.h. Remove all eval stack overflow checks.
-
Guido van Rossum authored
to PyCode_New() argument list. Move MAXBLOCKS constant to conpile.h. Added accurate calculation of the actual stack size needed by the generated code. Also commented out all fprintf statements (except for a new one to diagnose stack underflow, and one in #ifdef'ed out code), and added some new TO DO suggestions (now that the stacksize is taken of the TO DO list).
-
Guido van Rossum authored
to PyCode_New() argument list. Also add CO_MAXBLOCKS constant indicating the maximum static nesting supported by the compiler.
-
Guido van Rossum authored
should raise TypeError, not ValueError...
-
Guido van Rossum authored
dis() still disassembles the last frame of the lats stack trace. dis(x) disassembles x, which may be a code object, function, or method. disassemble(co, [lasti]) disassembles a code object; the lasti argument is now optional. disco(...) is an alias for disassemble(...), for backward compatibility.
-
Roger E. Masse authored
Reindented.
-
Guido van Rossum authored
continue the tests.
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Barry Warsaw authored
to Python. Minimal documentation is included in comments at the top of the file, and in the Misc/PURIFY.README file. Note that this module must be statically linked since Pure doesn't provide shared stubs libraries. (Setup.in): Added commented template for pure module (syslogmodule.c): ins() function wasn't declared static.
-
- 16 Jan, 1997 14 commits
-
-
Barry Warsaw authored
interpreter. It also mentions the soon to be checked in pure module.
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Guido van Rossum authored
-
Roger E. Masse authored
-
Guido van Rossum authored
- add opcodes BINARY_LSHIFT ... BINARY_OR - remove RESERVE_FAST - Skip M's suggestion for displaying which comparison operator is meant
-
Roger E. Masse authored
-
Roger E. Masse authored
big-endian machines. This is done by directing the struct module's pack and unpack methods to treat the data always in bin endian format. This has been tested on irix (big endian) and solaris x86 (little endian) but not yet on the mac.
-
Barry Warsaw authored
unsigned. This fixes the 8bit-char-in-key platform incompatibility. I also removed the old backwards compatibility code, and the commented lisp rotor code. I retained the lisp docstrings as comments preceding each function.
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Barry Warsaw authored
memory leak in Tkapp_(Create|Delete)FileHandler plugged. standard eyeballing
-
Barry Warsaw authored
-
- 15 Jan, 1997 3 commits
-
-
Roger E. Masse authored
the test program: 'grey2rgb' and 'rgb2grey'
-
Roger E. Masse authored
the imagefiles and converting tham to a format suitable for imageop. Also added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence on the file 'greytest.rgb'. Note: test_imgfile.py still uses 'greytest.rgb'
-
Guido van Rossum authored
-