Ledger behavior
Posted: Thu Sep 09, 2021 4:08 am
As you get more and more provinces, the ledger gets less and less usable.
Let's say I want to find out which of my provinces are above 15k culture, so I can move their workers away from Culture work. The first sort takes quite a long time. (which is fine, if it only happens once.)
I find one that is too heavily focused on culture, and move some pops to money. This, apparently resorts, because everytime I move pops, it takes exactly the same amount of time as the initial sort.
But fields such as culture can not change within a turn. There's a separate field for that. So, two bugs actually
1) It looks like the ledger re-renders on each change of the sort of the underlying model
2) It looks like the ledger re-sorts unnecessarily on change of the underlying model
Let's say I want to find out which of my provinces are above 15k culture, so I can move their workers away from Culture work. The first sort takes quite a long time. (which is fine, if it only happens once.)
I find one that is too heavily focused on culture, and move some pops to money. This, apparently resorts, because everytime I move pops, it takes exactly the same amount of time as the initial sort.
But fields such as culture can not change within a turn. There's a separate field for that. So, two bugs actually
1) It looks like the ledger re-renders on each change of the sort of the underlying model
2) It looks like the ledger re-sorts unnecessarily on change of the underlying model