bisq/desktop/src
Steven Barclay d0172c2424
Load (Deposit|Transactions)ListItem tooltips lazily
Add a nested class of lazy fields to (Deposit|Transactions)ListItem,
together with an associated memoised Supplier, lazyFieldsSupplier, which
initialises them all the first time any one of them is requested. Move
the txConfidenceIndicator & tooltip fields to this class, so that they
are only loaded when the given address/tx row is displayed in the
deposit/transactions views, respectively.

This prevents a minor bottleneck, as profiling indicates that creating a
tooltip for each tx confidence indicator in the list is quite expensive
and takes up around half the rendering time. (There may be 1000's of txs
or addresses in an old wallet.)
2021-01-26 23:58:13 +00:00
..
main Load (Deposit|Transactions)ListItem tooltips lazily 2021-01-26 23:58:13 +00:00
test Optimise TransactionAwareTrade.isRelatedToTransaction 2021-01-26 20:10:47 +00:00