Skip to content

Use Set.has instead of Array.indexOf for enum comparison (perf improvement) #1537

Use Set.has instead of Array.indexOf for enum comparison (perf improvement)

Use Set.has instead of Array.indexOf for enum comparison (perf improvement) #1537

Annotations

2 warnings

Test with TypeScript 4.8 on Node 18

succeeded Apr 16, 2024 in 49s
Set up job
0s
Run actions/checkout@v2
1s
Run actions/setup-node@v1
1s
Run yarn install
20s
Run yarn add typescript@4.8
3s
Run yarn build
7s
Run yarn test
14s
Post Run actions/checkout@v2
0s
Complete job
0s