HomePhabricator

Merge #12621: Avoid querying unnecessary model data when filtering transactions

Description

Merge #12621: Avoid querying unnecessary model data when filtering transactions

Summary:
1ee72a819f qt: Avoid querying unnecessary model data when filtering transactions (João Barbosa)

Pull request description:

This change moves down model data querying to where it's needed. The worst case remains the same (all data is queried and the row passes) but for the average case it improves the filter performance.

Tree-SHA512: 3bcaced029cb39dfbc5377246ce76634f9050ee3a3053db4d358fcbf4d8107c649e75841f21d69f1aebcaf1bbffe3eac784e6b03b366fdbbfec1e0da8f78d8ef

Backport of Core PR12621
https://github.com/bitcoin/bitcoin/pull/12621/

Depends on D3833

Test Plan:

make check

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: Fabien, O1 Bitcoin ABC, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D3812

Details

Provenance
Jonas Schnelli <dev@jonasschnelli.ch>Authored on Sep 26 2017, 21:59
nakihitoCommitted on Aug 16 2019, 17:48
nakihitoPushed on Aug 16 2019, 17:48
Reviewer
Restricted Owners Package
Differential Revision
D3812: Merge #12621: Avoid querying unnecessary model data when filtering transactions
Parents
rABC38c6c4e33b29: Update manpages for 0.20.0 release
Branches
Unknown
Tags
Unknown