Commit Graph

5 Commits

Author SHA1 Message Date
Valk Richard Li 8e29a3ec5b bug fixed & more efficient callfv
I changed callfv's way of calling a function with arguments in vm_vec.
now callfv fetches arguments from val_stack directly,so it runs test/fib.nas from 2.4s to 1.9s.

delete operand callf,add operands callfv & callfh.

also,i check val_stack's top to make sure there is not a stack overflow.
2021-06-03 21:49:31 +08:00
Valk Richard Li c88620920b add stl & more efficient scope 2021-04-02 22:19:29 +08:00
Valk Richard Li be1bcdfe2c bug fixed 2021-03-28 17:39:24 +08:00
Valk Richard Li 144e6f45da gc changed to mark-sweep 2021-03-27 01:08:05 +08:00
Valk Richard Li c4e6a89959 update test files and prepare the release of v5.0 2021-03-07 16:33:43 +08:00