02-24-2010, 08:06 PM
Well, -O2 & -O3 seems to be fixed (most of the -On problems were related to previous fixes, in fact).
Compiling B7 with -O3 reduces execution time to 0.16segs :!: :wink:
So, as I said, -O3 has a great positive impact on array access performance.
![[Image: benchmarko3.th.png]](http://img707.imageshack.us/img707/617/benchmarko3.th.png)
(Screenshot)
Suggestion: try the benchmarks again using -O3, to see if it improves times on other benchmarks too (download ZX Basic v1.2.5-r1489b here: <!-- m --><a class="postlink" href="http://www.boriel.com/files/zxb/zxbasic-1.2.5r1489b.msi">http://www.boriel.com/files/zxb/zxbasic-1.2.5r1489b.msi</a><!-- m --> )
Compiling B7 with -O3 reduces execution time to 0.16segs :!: :wink:
So, as I said, -O3 has a great positive impact on array access performance.
![[Image: benchmarko3.th.png]](http://img707.imageshack.us/img707/617/benchmarko3.th.png)
(Screenshot)
Suggestion: try the benchmarks again using -O3, to see if it improves times on other benchmarks too (download ZX Basic v1.2.5-r1489b here: <!-- m --><a class="postlink" href="http://www.boriel.com/files/zxb/zxbasic-1.2.5r1489b.msi">http://www.boriel.com/files/zxb/zxbasic-1.2.5r1489b.msi</a><!-- m --> )