mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 07:38:21 +00:00
Disable inline by default, due to the impact it has on WHILE/FOR loops
This commit is contained in:
parent
852fec2f26
commit
41515f338a
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -277,7 +277,7 @@ Case insensitive.
|
||||||
with that name). This flag works around that limitation
|
with that name). This flag works around that limitation
|
||||||
by replacing the names of the labels in the output with
|
by replacing the names of the labels in the output with
|
||||||
unique ones.
|
unique ones.
|
||||||
Inline + Enable 'inline' keyword to force functions to be inlined
|
Inline - Enable 'inline' keyword to force functions to be inlined
|
||||||
(EXPERIMENTAL)
|
(EXPERIMENTAL)
|
||||||
|
|
||||||
Deprecated / compatibility syntax extensions options:
|
Deprecated / compatibility syntax extensions options:
|
||||||
|
@ -379,7 +379,7 @@ def main(argv):
|
||||||
options = set(('extendedglobalexpr','extendedtypecast','extendedassignment',
|
options = set(('extendedglobalexpr','extendedtypecast','extendedassignment',
|
||||||
'allowkeyconcat','allowmultistrings','processpre','warntabs','optimize',
|
'allowkeyconcat','allowmultistrings','processpre','warntabs','optimize',
|
||||||
'optsigns','optfloats','constfold','dcr','errmissingdefault',
|
'optsigns','optfloats','constfold','dcr','errmissingdefault',
|
||||||
'listlength','listadd','inline',
|
'listlength','listadd',
|
||||||
))
|
))
|
||||||
|
|
||||||
assert not (options - validoptions), (u"Default options not present in"
|
assert not (options - validoptions), (u"Default options not present in"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue