Re: Can OpenEuphoria Help Solve This?
- Posted by petelomax Aug 21, 2018
- 1853 views
Pirx said...
Is it possible? ... but I would like to see examples of code that runs significantly faster after compilation and is as fast as C or Luajit.
Many years ago I started a blog that I never kept up. The one and only entry might interest you: http://phix.x10.mx/blog.php
In short, modifying data (the for loop control variable) was touching the same #400-byte memory page the code was on, forcing the CPU to re-load the code cache.
I very much doubt it is anything similar (C was not involved in that example, and I fixed that issue 8 years ago), but the point is made that computers often do strange low-level things.
Pete