Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance so we can enable column sorting #145

Open
moceap opened this issue Dec 23, 2016 · 4 comments
Open

Improve performance so we can enable column sorting #145

moceap opened this issue Dec 23, 2016 · 4 comments

Comments

@moceap
Copy link

moceap commented Dec 23, 2016

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

ver 4.3.2

@genodeftest genodeftest changed the title Cant sort ! Improve performance so we can enable column sorting Dec 23, 2016
@genodeftest
Copy link
Collaborator

genodeftest commented Dec 23, 2016

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
Copy link
Author

moceap commented Dec 23, 2016

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
Copy link
Collaborator

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
Copy link
Author

moceap commented Jan 1, 2017

If you meen yumex, it isn't!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants