Sorting suspensions in TestClock.run
#7
Answered
by
stephencelis
danieleformichelli
asked this question in
Q&A
|
Hello, I have a question about the As we are adding suspension without sorting them until If yes, wouldn't be simpler and less error-prone to just use insertion sort when adding suspensions to the array? Thanks a lot! 🙏 |
Answered by
stephencelis
Oct 25, 2022
Replies: 1 comment 2 replies
|
@danyf90 Chatted about this with @mbrandonw and we totally agree. Would you be up for PRing that functionality and, if you wanna go above and beyond, capture things in a test? Any help is appreciated, but we're also happy to take on any of the work if you don't have time to dive in 😄 |
2 replies
Answer selected by
danieleformichelli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@danyf90 Chatted about this with @mbrandonw and we totally agree. Would you be up for PRing that functionality and, if you wanna go above and beyond, capture things in a test? Any help is appreciated, but we're also happy to take on any of the work if you don't have time to dive in 😄