elena-lang icon indicating copy to clipboard operation
elena-lang copied to clipboard

Various optimizations

Open arakov opened this issue 6 years ago • 0 comments

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

arakov avatar Aug 10 '18 07:08 arakov