Fix tasks that share a signal taking O(n²) time to add, run, and abort · sindresorhus/p-queue@95622a4 · GitHub
Skip to content

Commit 95622a4

Browse files
committed
Fix tasks that share a signal taking O(n²) time to add, run, and abort
1 parent 450356a commit 95622a4

4 files changed

Lines changed: 251 additions & 73 deletions

File tree

‎source/index.ts‎

Lines changed: 58 additions & 46 deletions

‎source/priority-queue.ts‎

Lines changed: 37 additions & 24 deletions

0 commit comments

Comments
 (0)