darxtrix/ptop

Optimize the sorting behavior

开放

#31 创建于 2017年7月29日

 (0 条评论) (0 个反应) (0 位负责人)Python (43 个派生)batch import
good first issue

仓库指标

星标
 (573 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南