- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Optimized OpCodes
        duangsuse edited this page Jan 11, 2018 
        ·
        2 revisions
      
    MinVM uses some excited duplicated OpCodes to increase the f**king performance not truly
🌚 🌝
- 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