that’s not what I mean, what I meant was that people that pay Vetex nothing act as though Vetex owes them something.
Never even thought of that
oh so this is every single interaction available
that’s alot of elseif’s, and that’s unhealthy
trying to one up me does nothing but alright man whatever you say
one-up you? I don’t know what you mean?
is that actually… vetex’s code?
Apparently, it’s optimized though, so it doesn’t matter.
damn. i was considering doing that but i honestly dont know the rules around doing that in lua so i just didnt since i was too lazy to look it up. itll probably be a little faster doing it that way since u index the dictionary one less time. even if the elifs are slower i doubt they would be slower in a significant way, though
yea, its good practice to, well, make ur code pretty and readable and optimized. its possible there are issues like this in other more important bits of code, but if a certain system was running really poorly and the code behind it looks really sloppy they can probably put two and two together and just fix it
i do hate memes like this bc theyre either made by programmers who vastly overexaggerate how big of a deal some things are, or by kids who know nothing about coding who just need a reason to shit on their least favorite gamedev. either way, it’s probably best to just let it go, but i like talking about coding and what goes into roblox games so
*every interaction that necessitates the background color of an option be changed, which is a very small subset of them
interesting idea, and probably could’ve had some cool stuff.
but tbh vetex probably still would’ve done a revamp thing and make Arcane Odyssey no?
Roblos
Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif Elseif
Generally, no it wouldn’t, because this option is unnecessarily updating the property every time even if there isn’t a color mapped to that string, which would be slower than an if statement. (Again, still incredibly negligible)
oh well. if u start caring about this kind of thing u go crazy just write the code
you’re right mb i didn’t account for 99% of the time it just resorts to the default color as well
i tried benchmarking different variations but ran into the issue of even over tens of millions of iterations the differences were so small and definitely effected by other factors that r on a higher level that it would switch up what’s ahead often, tbh running iterations wasnt a good way to test this on its own
still all were somewhat?(all too similar) ahead elifs & top 2 were just tbd’s or tbd’s but cacheing backgroundColors[textbox.Text] in a variable to avoid repeated lookup but they were so close together i don’t think it even mattered there(not that optimizing this specific bit even matters much besides visuals)
ultimately in this code itself it’s too small to have that much of an effect anyways nd ppl r more worried about other parts of code than this specifically not that it even matters atp just gotta wait for full release