Forum
byte loops (*solved*) - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15)
+---- Thread: byte loops (*solved*) (/showthread.php?tid=456)

Pages: 1 2


Re: byte loops (*solved*) - britlion - 05-28-2012

boriel Wrote:Yes, I overlooked the stream rnd generator. Hmmm. Too many things to include in the library!
Can you plot RND * 256, RND * 192 for about... let's say 10.000 iterations, and compare the ZX Basic RND and yours?
ZX Basic is really good, but not as fast as this one, since it uses ULong (32 bit x 32 bit = 64 bit) multiplication!

Yes indeed - test code here for 30,000 plots.

<!-- l --><a class="postlink-local" href="http://www.boriel.com/forum/post3292.html#p3292">post3292.html#p3292</a><!-- l -->

(result times as 2.5 times to 2 times faster)