Better not get sidetracked, as I've got a game to write.
-=-=-
So, yesterday I spent most of the day playing "try to optimise JSE a little more".
I got ChatGPT involved, this time, and fed it small chunks of code in the hope that it could maybe find a few nips and tucks.
It didn't.
It failed quite badly, if I'm honest.
If (This) {a=Array["boop"]; b=4;} else {a=Array["boop"]; b=5;}
And ChatGPT's like...
a=Array["boop"]; if (This) {b=4;} else {b=5;}
Right.. I get that.. That's a little easier to read, but .. It's not any faster, is it?
It's going to run at the same speed.
And these are the sorts of "optimisations" that ChatGPT, Claude, Llama and co, all seem to be giving me in droves.
On the one hand, A.I. can't code any better than I can.
On the other hand. Hey, I coded that well!!
So, I'm still trying to find little nips and tucks.
I think I found a couple, but I'm fairly sure I can find a few more if I keep poking and prodding.
Optimising is fun
.. I think I should probably make a note of my system's current Optimisationalsm 4 scores.
Or maybe it's time to make a new Optimisationalism. ...?
A.I. Corner
Lyrics : By me, mostly, but I had to ask a thesaurus for help at one point.
Sound Imported : Precarious Youth > Reveal 🔎
[chorus]
Tighten the code up to make it all faster.
Tighten the code up to make it all faster.
Tighten the code up to make it all faster.
Tighten the code up, up, up, up, up, up, (fast)
[bridge]
Tighten the code (tighten the code)
Tighten the code (tighten the code)
Tighten the code (tighten the code)
Tighten the code (tighten the code)
[break]
[pre-chorus]
Go, go, go, make it faster!
Go, go, build the master!
Go, go, Go, Code all the flow,
Go, up, up, up, up, fast, Go!
[chorus]
Tighten the code up to make it all faster.
Tighten the code up to make it all faster.
Tighten the code up to make it all faster.
Tighten the code up, up, up, up, up, up, (fast)
[outro]
Tighten the code
Tighten the code
Tighten the code
Tighten the code
[Mrs. Thompson is leafing through an Argos catalogue, circling various appliances with a red pen. Dave is hovering over her shoulder, fidgeting with the catalogue.]
Mrs. Thompson: (points at a photo of a stainless steel fridge) I do like these larger fridges. They'll be able to fit many more ingredients in them.
Dave: (excitedly) Do you think they store purple ok?
Mrs. Thompson: (blankly) Purple? .. I was thinking milk, butter, eggs. All the ingredients for a good ScrunchCake.
Dave: So, yeah, probably.
Mrs. Thompson: And we'll likely need a separate fridge for holding all the meat, just so we can be sure we don't contaminate the Vegan ScrunchCakes.
Dave: Maybe move the eggs to the meat fridge?
Mrs. Thompson: How do you make a cake without eggs? Or Milk?
Dave: Um. We might need to google that.
Mrs. Thompson: So, just two fridges would probably do. If we need to do something special, we'll figure that out later.
Dave: Yeah, that makes sense. And the purple can probably go on a shelf or something. Do Argosies do shelves and things?
Mrs. Thompson: Maybe little ones, but I think we'll probably have to head to Ikea or something for the shelving and worktops and things.
Dave: We're gonna need a bigger catalogue!
[Greenie enters to the two of them laughing]
Green: Hey, how goes the kitchen?
Dave: We're getting a purple fridge!
Mrs. Thompson: I don't think I agreed to that, David.
Green: You and your purple.
Mrs. Thompson: We're thinking one fridge for the main cake ingredients, and a second one as a large meat fridge.
Green: If this is a proper kitchen, shouldn't we have one of those giant fridges?
Mrs. Thompson: Do you think your budget would stretch to something like that, David?
Dave: The budget, sure. But I'm probably going to get locked in it, at some point.
Green: That's true. Maybe we should put a two-way handle on it.
Mrs. Thompson: I don't think Argos are going to be selling that. Or Ikea.
Dave: We're gonna need a bigger catalogue!
[Dave and Mrs. Thompson laugh again. Greenie doesn't get the reference.]
Green: Right, I'll go and search on Bing to see if I can find anywhere that sells big fridges and things. You two work on the layout.
Mrs. Thompson: That shouldn't be too hard. A fleet of ovens over there, a couple of work surfaces, a nice big washing up area. Shouldn't be too hard to work all of this out.
Dave: And then we'll be scrunching all of the cakes!
Mrs. Thompson: Something like that, yeah.
Green: OK, you two have fun.
[End credits as Green leaves]
Views 105, Upvotes 3
Daily Blog
,
Jse
,
Optimising
New games every week!
Places
Archives
Site credits : All of the above : Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed
5