wwwzbwcom
wwwzbwcom
Maybe add a option to toggle it?
@harshkhandeparkar This doesnt affect much, array is still much slower: Also, in the source code we defining array in function, so I do this in the test ``` const mathFunctionsMap...
Checking the first element by indexOf is also slower: ``` const mathFunctionsMap = { abs: true, acos: true, acosh: true, asin: true, asinh: true, atan: true, atan2: true, atanh: true,...
> > @harshkhandeparkar This doesnt affect much, array is still much slower: > > Somehow, my initial test gave different results. The later tests are consistent with yours. Nice find!...
> > If you swap the order of the findArrIncludes and findObj, findObj will be faster and findArrIncludes will be slower > > Why? Maybe gc or cache related?
> Hmm, perhaps. I tested them separately and found that includes still has the benefit of constant search time. > > ``` > findArrIncludes_first 470 ms > findArrIncludes_middle 463 ms...
没有安装依赖,详细可见报错
> could you please add some test cases? > > Under `test/parellel/` Working on it. Also, I wonder how to increamental build under windows, every time I run test or...
Is there any additional work needed for this PR?