darxtrix/ptop

Optimize the sorting behavior

Open

#31 建立於 2017年7月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (573 star) (43 fork)batch import
good first issue

描述

See if there is any scope of optimizing the sorting behavior.

  • We don't have to sort each time the processes list, I guess we can use an index for the relevance sort. But for this also we have to get all the process ids that are active and add new process ids and remove all the old process ids from the index. And then display the sorted processes using the index and the process hash map.

貢獻者指南