just-react
just-react copied to clipboard
Scheduler 优先队列表述问题
这里的堆排序每次push或pop调整,都是O(logN)吧?
做的peek,后续执行完才做的pop,所以找到确实属于O(1)