Performance Complexity

Collection-handling performance for Trezor Suite — indexing before iteration, O(1) sort comparators, and reduce accumulators that don't allocate. Use when writing a loop, sort or reduce over accounts, tokens, transactions or UTXOs.

trezor Updated

File contents

trezor/trezor-suite commit 29a00e4207

Frequently asked questions

npx get-skill add trezor/performance-complexity