We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52405bc commit 26e22e7Copy full SHA for 26e22e7
README.md
@@ -37,6 +37,8 @@ for (size_t i = 0; i < code.size(); ++i) {
37
}
38
```
39
40
+### __Basic Optimization__
41
+
42
To optimize the efficiency of the interpreter,
43
i count consecutive operators instead of just translating operators into an opcode.
44
You will see the structure of opcode in `jit.cpp`.
@@ -45,10 +47,10 @@ For example:
45
47
46
48
|bf code|opcode|
49
|:----|:----|
-|`+++`|`buf[p]+=3`|
-|`----`|`buf[p]-=4`|
50
-|`>>>>>`|`p+=5`|
51
-|`<<`|`p-=2`|
+|`+++`|`buf[p] += 3`|
+|`----`|`buf[p] -= 4`|
52
+|`>>>>>`|`p += 5`|
53
+|`<<`|`p -= 2`|
54
55
## __Just-In-Time Compiler__
56
0 commit comments