bisq/core/src
Steven Barclay 267becf612
Fix minor quadratic time bug in getBurningManCandidatesByName
Avoid streaming over the entire proposals list to find a matching txId,
for every 'Issuance' & 'CompensationProposal' pair used to construct and
add a compensation model to the burn output model of each candidate.
Instead, stream over the proposals list once, doing lookups by txId of
each matching issuance, which uses the TreeMap 'DaoState.issuanceMap',
thereby taking O(n*log(n)) time.
2024-07-13 16:29:48 +02:00
..
main Fix minor quadratic time bug in getBurningManCandidatesByName 2024-07-13 16:29:48 +02:00
test Fix minor quadratic time bug in getBurningManCandidatesByName 2024-07-13 16:29:48 +02:00