New games every week!
🤡-27- A Window of Numbers Blog
27th April 2025
More JSE Optimising Waffle ahead.

-=-=-




OK, the ROGAlly is still doing a lovely job of being a Windows system, so I can use that as a test-bed for further JSE Optimisationalism.

I started the day with Optimisationalism 5 on v.3gio, running on the ROGAlly with an average time of about 83.2 seconds.

This was a hefty day of coding, today, as I completely rewrote how Variables and Arrays are handled by the engine. Everything used to be key-based, in that I'd say 'JSE_vbl["MyVariable"]' and would leave Javascript to figure things out as best as it can.
Now, however, I've instead built up my own array key, placed variables (and arrays and even line numbers) into an ordered organised numerical system, replaced those values during the parser, and now all the elements should be together, in a group, and not higgledy piggledy all over the place.

I spent literally hours sifting through the entire script, with tons of little tweaks here and there to allow for new ways of doing things, faster array lookups and much more besides.
Honestly, the amount of work was insane, and it took an intense amount of undo/redo/rewrite/retweak to get everything functioning back the way it did, once I was finished.
I'm still not 100% convinced that everything is quite right, yet, so I've been doing a bunch of tests with code both new and old, to stress test everything and ensure it's still doing what it should be doing.

By the end of the day, it was averaging around 82.7 seconds..



Hours of work..
Half a second's improvement.
..
And that was a day that I'd completely and totally wasted.
\o/yeay\o/

Meanwhile, the MacBook M2 8Gb is averaging 55.6 seconds, and the Mac Mini M4 16Gb is flooring 45 seconds, which I believe is the absolute fastest that Optimisationalism 5 can get... If I've done my maths right!

I'm not releasing this version just yet. I need to stress and test and stress test everything to make sure I haven't completely stuffed things up, especially since I completely rewrote how variables work!! That's some might important stuff, right there.

A.I. Corner


Lyrics : By me
Sound Imported : Turbulent Ogre
> Reveal 🔎

: Download | Suno Link

Alternative version
: Download | Suno Link
Sung by Suno


"Cartoon Derek has worked so long and hard, but is ultimately disappointed in the results." by DrawThings / Flux

> Reveal 🔎
Views 122, Upvotes 2  
Daily Blog , Jse , Optimising
New games every week!
Site credits : Site built from the ground up, in php, using Programmer's Notepad 2, and a very bored Jayenkai.
(c) Jayenkai 2023 and onwards, RSS feed 93

Blog - 🤡-27- A Window of Numbers - AGameAWeek