Skip to content

Questions about using binary search in scheduler.ts to ensure queue order #13527

Discussion options

You must be logged in to vote

As far as I'm aware, no-one has attempted implementing it the way you've suggested. Then again, if someone did attempt it but it didn't work then they likely wouldn't have shared it.

I believe the most recent performance tweaks to the scheduler were made in preparation for Vapor mode, which creates a lot more effects and put much more pressure on the scheduler.

While I haven't attempted the specific change you mentioned, I have attempted similar ideas elsewhere in the codebase and there are a few other considerations that often scupper these kinds of changes:

  1. Using more complex data structures can lead to more memory use, or perhaps more importantly more GC activity. The latter can cause…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lyf534631748
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants