• Roman Alifanov's avatar
    Optimize codegen: eliminate subshell forks, inline dict/fs methods · dd891640
    Roman Alifanov authored
    - Comparisons set __CT_RET directly instead of $() subshell fork
    - Logical NOT (!) inlined same way
    - fs.exists() inlined to [[ -e ]] in conditions
    - fs.read uses $(<file) instead of $(cat), fs.write/append use printf
    - fs.exists/remove/mkdir avoid unnecessary $() wrapping
    - Dict .get()/.has()/.len() inlined for local dict vars
    - __ct_print simplified: removed unnecessary local variable
    - String concat ..= uses native += append
    - Skip __CT_RET self-assignment in return statements
    dd891640
Name
Last commit
Last update
..
backend Loading commit data...
ir Loading commit data...
lexer Loading commit data...
methods Loading commit data...
optimizer Loading commit data...
semantics Loading commit data...
symbols Loading commit data...
syntax Loading commit data...
__init__.py Loading commit data...
__main__.py Loading commit data...
cli.py Loading commit data...
constants.py Loading commit data...
meson.build Loading commit data...