diff options
| author | Marc Vertes <marc.vertes@tendermint.com> | 2023-07-24 14:20:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-24 14:20:45 +0200 |
| commit | 355750be61fbf4b90d132a9560e01113f22f4c38 (patch) | |
| tree | a63850914481d2450e20604424dd25a0d97ba8a5 /parser/parse.go | |
| parent | bf32256ff3014543ef5dda69c4ee1e94d01361fe (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/parse.go')
0 files changed, 0 insertions, 0 deletions
