Each Clarity function has a defined cost for CPU and memory. The Stacks node uses these to limit the total complexity of a block. Developers can use `::get_costs` in the REPL to analyze their code.
← Clarity theorytheory 0/50 · 0%
Performance · hard
41. Cost Analysis
Understanding the cost function.
Check your understanding
1. Why does Clarity have a cost function?