array/push

arr val


Summary

Append VAL to ARR

Bytecode

Probably only interesting to you if you want to understand more about the Nujel VM or care very much about performance.

(    0 ($get/val 'array/set!))
(    2 ($get/val 'array/length!))
(    4 ($get/val 'arr))
(    6 ($push/int/byte 1))
(    8 ($get/val 'array/length))
(   10 ($get/val 'arr))
(   12 ($apply 1))
(   14 ($add))
(   15 ($apply 2))
(   17 ($get/val 'array/length))
(   19 ($get/val 'arr))
(   21 ($apply 1))
(   23 ($push/int/byte 1))
(   25 ($sub))
(   26 ($get/val 'val))
(   28 ($apply 3))
(   30 ($ret))