Post #1896840
2026-04-17 21:41 UTC
@aperezdc @electron_greg
Using integer math makes it twice as fast: from 53.4s to 26.4s. Screenshot shows both versions, on an emulated FS-A1WSX #MSX for good measure. First the original, then the version with integer math. Note that ¥ is actually a \.
Replies (2)
-
@RandySimons@mastodon.social 2026-04-17 21:54
@aperezdc @electron_greg Had to check on MSX turbo R :) Integer math again. Runtime: 4.6 seconds. And, with KUN BASIC compiler: 0.2 seconds :D
-
@Sh41@androiddev.social 2026-04-18 00:16
@RandySimons @aperezdc @electron_greg yeah, integer math is way faster than float, specially in Basic