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

Performance problem with ValueTransfers List from zingolib #1461

Open
juanky201271 opened this issue Oct 18, 2024 · 0 comments
Open

Performance problem with ValueTransfers List from zingolib #1461

juanky201271 opened this issue Oct 18, 2024 · 0 comments

Comments

@juanky201271
Copy link
Contributor

juanky201271 commented Oct 18, 2024

When The App extract the valuetransfers list from zingolib, every time the order of the items in the list change (most of the times there are the same items but with a slightly different order...)

Apparently this doesn't sound really bad, but the reality is different: the App have to load a long list every single time (each 5 seconds) because of the order is different... and worse than that is: The App have to do a sort of the list every time consuming a precious time in the UI.

Before... with transactions the order was the same every time you fired the list from zingolib.

The App have two new problems, IMO:

  1. The App load the new list of valuetransfers all the time (same items, different order)
  2. Before loading the ValueTransfers, the App have to do a heavy sort of the items, because we don't want to see the list of valuatransfers flickering like the item are cracy...

Tentative solution: The result of the VT list have to have a specific order every time the App fired it. This way the App can load it only when there are changes and the App doesn't have to do a sort never.

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

1 participant