DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

SoftwareEngineering > LispImplementations > PythonOptimizations > PracticalCommonLisp > LispSprache > TailCallElimination > Recursion > EnterpriseJavaBeans > BottomUpProgramming > ProperTailRecursion > Recursion > DatalessProgramming > ProgrammierSprachen > AbstractSyntaxTrees > ProgrammingLanguage > ProgrammierSprachen > PythonBytecodeHacksClear Trail
Main /

Python Bytecode Hacks

The bytecodehacks allow you to do certain modifications to compiled Python code objects.


Bytecodes index into a switch table that jumps to interface code that calls C routines, most of which have been optimized, on and off, for about 15 years.

Current CPyVM simulates a stack machine. This has the virtue[al] of simplicity and clarity even for someone like me who has never seriously written assembler. People have made proposals to switch to simulating a (more complex) register machine, with a new set of bytecodes, that theoretically would be faster.

Edit - BackLinks - Tags - Page Hist - Print - Changes - Home - Orphans - Help

Zuletzt geändert am 15.07.2005 12:00 Uhr und seit 7. April 2005 1663 aufgerufen.