elena-lang
elena-lang copied to clipboard
Various optimizations
Various optimizations
- optimize interface dispatch implementation (interface template)
- optimize external call routines
- optimize equal generic implementation (in basic module)
- optimize wideConvertor / literalConvertor
- optimize CallStack
- optimize - if (0 == theTop) (where theTop is ref
) - optimize TextBuilder
- optimize anagram sample, after recent changes it is slowed down
- opimized alt operator implementation : resolve it in compile-time if the operand is known
- optimize using, finally, try template implementations (get rid of dynamic closures)
- optimize listof.setAt&int$&object[2]: there should be primitive comparison operation
- optimize listof.$expand
- optimize ArrayList / list template insert operation (use xset for moving the references rather than set)
- optimize multimethod implementation for sealed class containing only one overload class
- external function : duplicate assigning
- do not allocate a virtual vmt (for the object initilizer code)
- redesign mtredirect / xmtredirect, for three, four parameters (?)
- mtredirect / xmtredirect : do not need to save ecx twice