darxtrix/ptop

Optimize the sorting behavior

Open

#31 geöffnet am 29. Juli 2017

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (43 Forks)batch import
good first issue

Repository-Metriken

Stars
 (573 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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