Update README.md

This commit is contained in:
Valk Richard Li 2021-06-03 21:59:15 +08:00
parent 8e29a3ec5b
commit 2e31a70406
1 changed files with 6 additions and 0 deletions

View File

@ -147,6 +147,12 @@ Add builtin_alloc to avoid mark-sweep when running a built-in function,which wil
Better use setsize and assignment to get a big array,append is very slow in this situation.
2021/6/3 update: Fixed a bug that gc still re-collects garbage,this time i use three mark states to make sure garbage is ready to be collected.
Change callf to callfv and callfh.And callfv fetches arguments from val_stack directly instead of using vm_vec,a not very efficient way.
Better use callfv instead of callfh,callfh will fetch a vm_hash from stack and parse it,making this process slow.
```javascript
for(var i=0;i<4000000;i+=1);
```