[New-bugs-announce] [issue25903] SUGGESTION: Optimize code in PYO

Devyn Johnson report at bugs.python.org
Fri Dec 18 07:18:30 EST 2015


New submission from Devyn Johnson:

I have a suggestion. When Python code is byte-compiled to *.pyo files, what if byte-compiler were to be made to enhance some of the code. For instance, "if type(OBJECT) == int:" would be changed to "if isinstance(OBJECT, int):". Python is used in numerous software, so why not add a feature like this that could increase performance?

----------
messages: 256676
nosy: Devyn Johnson
priority: normal
severity: normal
status: open
title: SUGGESTION: Optimize code in PYO
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25903>
_______________________________________


More information about the New-bugs-announce mailing list