Aktuelle Änderungen Printable View Änderungen Bearbeiten
SoftwareEngineering > LispImplementations > PythonOptimizations > PracticalCommonLisp > LispSprache > TailCallElimination > Recursion > EnterpriseJavaBeans > BottomUpProgramming > ProperTailRecursion > Recursion > DatalessProgramming > ProgrammierSprachen > AbstractSyntaxTrees > ProgrammingLanguage > ProgrammierSprachen > PythonBytecodeHacksClear TrailThe 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.