Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort events in the scheduler in reverse chronological order, so adding/removing elements won't move everything. #4

Open
wheremyfoodat opened this issue Sep 29, 2020 · 1 comment

Comments

@wheremyfoodat
Copy link
Owner

wheremyfoodat commented Sep 29, 2020

Adding/removing scheduler events has the fun side-effect of moving every later event to the back/front by 1. This is not optimal 😄

@wheremyfoodat wheremyfoodat changed the title Sort events in the scheduler in reverse chronological order, so removing elements won't move everything. Sort events in the scheduler in reverse chronological order, so adding/removing elements won't move everything. Oct 1, 2020
@Powerlated
Copy link

Make linked list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants