From a155da2e65f87ff3dad02630f1545cb110d0269b Mon Sep 17 00:00:00 2001 From: Robin David Date: Sat, 16 Mar 2024 13:30:11 +0100 Subject: [PATCH] cache pcode from blocks --- bindings/python/quokka/block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/quokka/block.py b/bindings/python/quokka/block.py index bcb5e64..49196ef 100644 --- a/bindings/python/quokka/block.py +++ b/bindings/python/quokka/block.py @@ -243,7 +243,7 @@ def bytes(self) -> bytes: return block_bytes - @property + @cached_property def pcode_insts(self) -> List[pypcode.PcodeOp]: """Generate PCode instructions for the block