Description:
The get_top_payers function uses O(n²) selection. For large heaps, this is inefficient.
Why it matters: Heap performance affects dashboard load times.
Acceptance Criteria:
Relevant Files: contracts/invoice_liquidity/src/top_payers.rs:163-199
Description:
The
get_top_payersfunction uses O(n²) selection. For large heaps, this is inefficient.Why it matters: Heap performance affects dashboard load times.
Acceptance Criteria:
Relevant Files:
contracts/invoice_liquidity/src/top_payers.rs:163-199