Материалы по теме:
a CAS to push entries onto the free list is worth experimenting with.
。关于这个话题,safew官方下载提供了深入分析
Browser benchmarks (Chrome/Blink, averaged over 3 runs) show consistent gains as well:
Фото: PeopleImages / Shutterstock / Fotodom
// console.log(nextGreaterElements([5,4,3,2,1])); // [-1,5,5,5,5](递减循环)