You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This project started as a result of my boredom, but has become a friendly compet
4
4
I'd like to say that it's fast, ~~but it does not have a jit (yet).~~ and that's because it is. The execution of the Mandelbrot BF application went from 11 seconds to 1.3 seconds. Scroll down if you'd like to see the comparison.
5
5
6
6
## JIT Optimizations
7
-
Of course, multiple basic operations such as `>>>` and `+++` are summed together. This happens at the parsing stage and results in a free speed bonus. The JIT, if enabled, takes these summed operations and compiles them down to x86_64 machine code (only windows 64-bit for now). After a majority of the machine code is built, a peephole optimizer scans for any improvements. For now there is only one pattern that will result in a noticeable speed improvement (7%), but more can be added later.
7
+
Of course, multiple basic operations such as `>>>` and `+++` are summed together. This happens at the parsing stage and results in a free speed bonus. The JIT, if enabled, takes these summed operations and compiles them down to machine code (only windows for now). After a majority of the machine code is built, a peephole optimizer scans for any improvements. For now there is only one pattern that will result in a noticeable speed improvement (7%), but more can be added later.
8
8
9
9
Lets get onto actually seeing the speed difference.
0 commit comments