• Roman Alifanov's avatar
    Optimize codegen: peephole tmp/RET elimination, static dispatch, metadata DCE · af265565
    Roman Alifanov authored
    Peephole optimizations in _assign() eliminate __CT_RET and __ct_tmp
    round-trips by retargeting assignments directly to the target variable.
    Boolean condition peephole in _condition_bash() extracts test expressions
    directly instead of going through __CT_RET. Static dispatch for this
    method calls uses class_name to emit direct function calls instead of
    dynamic __ct_call_method. Class metadata (_fields/_types) only emitted
    when reflect/json categories are used. Stdlib methods (math, args, core)
    use direct __CT_RET= instead of echo to avoid subshell forks.
    af265565
Name
Last commit
Last update
.gear Loading commit data...
compiler Loading commit data...
examples Loading commit data...
lib Loading commit data...
tests Loading commit data...
LANGUAGE_SPEC.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
README_ru.md Loading commit data...
content Loading commit data...
content.in Loading commit data...
content.spec Loading commit data...
meson.build Loading commit data...