mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
This adds a "macro" to the optimizer DSL called "REPLACE_OPCODE_IF_EVALUATES_PURE", which allows automatically constant evaluating a bytecode body if certain inputs have no side effects upon evaluations (such as ints, strings, and floats). Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Miscellaneous source files for the main Python shared library