darxtrix / darxtrix/ptop

Optimize the sorting behavior

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
582
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.