hubiinetwork / hubii-core

The home of hubii core (aka Omphalos UI), the reference desktop app for nahmii
GNU General Public License v3.0
21 stars 4 forks source link

Further optimise the UI performance #736

Closed katat closed 5 years ago

katat commented 5 years ago

The size of data coming from both the transaction and receipt API can be large, and can lead to performance overhead as the selectors do the deep comparison to decide if it is necessary to emit new data events to the downstream.

If it can just compare the last record of the response of these two APIs instead of the whole data bundle for every data poll, it could avoid the potential performance issue when the wallet has a lot of transactions.