FV-SOL-9-C5 Nested Loops
TLDR
Nested loops are particularly costly because the gas cost grows exponentially with each layer of nesting. This is especially problematic when the loop conditions are based on user data or dynamic array lengths
Game
Can the contract handle large datasets, or will it crumble under its own weight?
Last updated
Was this helpful?