• 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
..
__init__.py Loading commit data...
args.py Loading commit data...
array.py Loading commit data...
base.py Loading commit data...
core.py Loading commit data...
dict.py Loading commit data...
file_handle.py Loading commit data...
fs.py Loading commit data...
http.py Loading commit data...
json.py Loading commit data...
logger.py Loading commit data...
math.py Loading commit data...
process_handle.py Loading commit data...
reflect.py Loading commit data...
regex.py Loading commit data...
string.py Loading commit data...
time.py Loading commit data...