Join GitHub today
lib: make FreeList faster #27021
1st commit makes FreeList alloc faster by using
2nd commit fixes a benchmark that I needed to run to confirm the results.
I'm getting the following lint error locally for this:
$ make lint-js Running JS linter... /Users/danielbevenius/work/nodejs/node/lib/internal/freelist.js 18:7 error Unexpected use of 'Reflect' no-restricted-globals ✖ 1 problem (1 error, 0 warnings)
Not sure why this is not picked up by CI. I'm happy to add an ignore to this line but wanted to bring it up here first.