Page 1 of 1

Better compiling?

Posted: Fri May 26, 2023 3:21 am
by SamuraiCrow
plouf wrote: Wed May 24, 2023 10:29 pm This is good amd also bad.. since no real compiling takes place
Both in code protection scheme and execution speed

A more "compiler" maybe be for future holywood?!
One optimization I can think of that should help is constant-folding of table lookups. All it should need is a hidden getter method that's accessible only to the bytecode compiler. After all, global variables and functions just look up the names in a hidden table internally. (At least I think Andreas said so.)