summaryrefslogtreecommitdiff
path: root/parser/node.go
diff options
context:
space:
mode:
authorMarc Vertes <marc.vertes@tendermint.com>2023-07-24 14:20:45 +0200
committerGitHub <noreply@github.com>2023-07-24 14:20:45 +0200
commit355750be61fbf4b90d132a9560e01113f22f4c38 (patch)
treea63850914481d2450e20604424dd25a0d97ba8a5 /parser/node.go
parentbf32256ff3014543ef5dda69c4ee1e94d01361fe (diff)
vm1: add file pos for debug and a few immediate instructions (#4)
* vm1: add file pos for debug and a few immediate instructions `op[0]` is now reserved for storing the file position computed at code compiling. No impact on performances. Added `Subi` and `Infi` which use integer immediate argument instead of stack. Experimental. Improves `fib()` speed by ~ 20%. * vm1: add benchmark as proposed by @ajnavarro
Diffstat (limited to 'parser/node.go')
0 files changed, 0 insertions, 0 deletions