lib: make FreeList faster
1st commit makes FreeList alloc faster by using Reflect.apply
and removing is_reused_symbol
.
2nd commit fixes a benchmark that I needed to run to confirm the results.
CI: https://ci.nodejs.org/job/node-test-pull-request/22260/ Benchmarks: https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/312/
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines