Skip to content

Optimized OpCodes

duangsuse edited this page Jan 11, 2018 · 2 revisions

Optimized OpCodes

MinVM uses some excited duplicated OpCodes to increase the f**king performance not truly 🌚 🌝

List

  • load*Bx ~ load$1 + moveBx
  • axUserDef
  • cxInvoke
  • procBx
  • yieldBx
  • yiedlAsyncBx
  • axCall
  • axRescueCall
  • axStaticCall
  • axRescueStaticCall
  • getStdin
  • putStdout
  • putStderr
  • toString
  • *If
  • *IfNot
  • opWarn (quick Exception cons)
  • stackPushInt (use operand) ~ loadInt + stackPush
  • stackDup ~ stackPop + stackPush + stackPush
  • swapAB swapAC

Cx aka 'object register'

  • table * Cx
  • stringGsub stringStartsWith stringEndsWith stringInclude
Clone this wiki locally