timlau / yumex-dnf-old

Next Generation of Yum Extender using DNF as backend
GNU General Public License v2.0
60 stars 17 forks source link

Improve performance so we can enable column sorting #145

Open moceap opened 7 years ago

moceap commented 7 years ago

Cant sort packages (by size, arch ... etc)

ver 4.3.2

genodeftest commented 7 years ago

The current situation is an intended workaround because our toolkit Gtk+ can't cope with a huge amount of packages to sort, at least not under python. If we made columns sortable, yumex-dnf would freeze for several seconds while sorting packages.

We should do some profiling on the sorting code and have a look if we can speed things up. I doubt that this will help though, unless we move to a non-interpreted programming language like C or Rust.

moceap commented 7 years ago

The current situation is an intended workaround because our toolkit Gtk+ can't cope with a huge amount of packages to sort, at least not under python. If we made columns sortable, yumex-dnf would freeze for several seconds while sorting packages.

So can we make it as a choice in settings ?

genodeftest commented 7 years ago

So can we make it as a choice in settings ?

Yes, we could, if someone does the work. In fact, yumex (for yum; the predecessor of yumex-dnf) had this feature.

moceap commented 7 years ago

If you meen yumex, it isn't!