Timeline for How to optimize Plutus smart contracts?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 3, 2022 at 6:14 | comment | added | Will |
The biggest decrease in mem usage I was able to achieve is by pattern matching against function inputs - especially when it comes to ScriptContext. Try to always pattern match unless you really need every field inside a given type. Good examples for that are TxOut , Maybe types and any of your datums
|
|
Aug 1, 2022 at 14:21 | vote | accept | KugisMugis | ||
Jul 30, 2022 at 19:26 | history | answered | Will | CC BY-SA 4.0 |