Skip to content

Commit 4811959

Browse files
authored
perf(linear-vesting): optimize validator with raw BI.* data extraction (#7658)
Replace high-level pattern matching with raw BI.unsafeDataAsConstr, BI.head/tail for data extraction, BI.caseList' for list traversal, and BI.caseInteger for redeemer dispatch. Use standard Haskell multi-way if guards instead of builtinIf pattern. CPU: 30.4M → 11.4M (62% reduction) MEM: 129K → 48K (63% reduction)
1 parent 318c729 commit 4811959

File tree

4 files changed

+1895
-2723
lines changed

4 files changed

+1895
-2723
lines changed

0 commit comments

Comments
 (0)