@@crusherfire1is it okay to only use strong tables if you have a custom function to manually cleanup a table by destroying references to objects inside of it?
Loved it. I just wish you could of went over why the keys can only be table values because of the way lua employs its garbage collection. None the less brilliant video
11:20 i cant remember where i found this out from but apparently using the hidden parent argument, (although not much) impacts performance, makes sense as its hidden for a reason so.
Yeah it's from this devforum article: devforum.roblox.com/t/psa-dont-use-instancenew-with-parent-argument/30296 In my circumstance, it's fine to use because I'm not updating any other properties of the part.
Trove and janitor are good for cleaning up runtime objects, but when you need to cache something related to a runtime object and want that cache to remove whatever it's storing when said object is destroyed, weak tables can be useful for that. Otherwise you'll just have to remember to manually remove it from your caches
its kinda a lazy way of cleaning stuff, you set it and forget it, i personally prefer stuff like trove but i can definitely see some people use it for its convenience
Yeah I always use trove for my objects created by classes but weak tables work great for temporary caching outside of the class when those objects are destroyed. Mainly what I use them for
I only use strong tables
I use strong tables to enslave weak tables
@@crusherfire1 crazy statement
@@crusherfire1that's... what the fuck
@@crusherfire1 Based
@@crusherfire1is it okay to only use strong tables if you have a custom function to manually cleanup a table by destroying references to objects inside of it?
I manually do garbage collection to assert my dominance and establish a superiority complex over other scripters
This is why I stopped scripting, too many sweats
lol
theres so many tryhards its insane, the matchmaking also sucks, im put with noobs or against lvl 10000 sweats
my brain is too weak to understand this
sigma tables
I am a strong table
i am a weak table
@@theperfecttroller im a table
no i am
I am a chair
I’m a telephone
16:09, how tf did you replace everything at once? can you make a video showing off all of your settings and plugins?
Ctrl + Shift + R to rename variables
the community space and classic music in the background makes this 100x better
Loved it. I just wish you could of went over why the keys can only be table values because of the way lua employs its garbage collection. None the less brilliant video
love Shostakovich Waltz on a background, lol
11:20 i cant remember where i found this out from but apparently using the hidden parent argument, (although not much) impacts performance, makes sense as its hidden for a reason so.
Yeah it's from this devforum article:
devforum.roblox.com/t/psa-dont-use-instancenew-with-parent-argument/30296
In my circumstance, it's fine to use because I'm not updating any other properties of the part.
your theme is so fancy 😲
please make more videos like these, their actually awesome 😎
*they're 🤓👆
@@crusherfire1 ok vro
@@Kevinsteo lol
ok now where are weak variables
no such thing :)
tables are variables
@@crusherfire1 where are const variables!
you've been missed CrusherFire, welcome back!
The king is back
I LOVE ALL YOUR VIDEOS!!!
Love your videos bro you’re awesome ❤
Could you make a video about NPCs and how to add advanced behaviour to them.
Is there any advantages of using weak tables instead of using a janitor module?
Trove and janitor are good for cleaning up runtime objects, but when you need to cache something related to a runtime object and want that cache to remove whatever it's storing when said object is destroyed, weak tables can be useful for that. Otherwise you'll just have to remember to manually remove it from your caches
@@crusherfire1 oh that makes sense! Love the videos keep up the hard work!!
@@crusherfire1 I hope someday both of them will have features like this.
12:55
bro went from human to ai voice 💀
In the other script has a reference part, doesn't the other script hold a different reference to the part than the main one?
Hey love your videos, can you make a video on anti exploits?
Ephemeron tables in a nutshell
assigning a variable to a setmetatable()? what does the variable refer to?
what font is that and also can you make a tutorial for how to organize everything inside a module script
JetBrains Mono! Grab it here:
www.jetbrains.com/lp/mono/
as for the second request, maybe?!? 🤔
wouldn't it just be better to do it manually lol.
@@TeeHeeWinning yeah but what if you forgor
📝
hows your risk of rain 2 game going
it's going but on pause, but will start up active development again when it gets migrated into another group
stron'g chai'r
its kinda a lazy way of cleaning stuff, you set it and forget it, i personally prefer stuff like trove but i can definitely see some people use it for its convenience
Yeah I always use trove for my objects created by classes but weak tables work great for temporary caching outside of the class when those objects are destroyed. Mainly what I use them for
Am I the only stupid one or some others with me
atp i think you are just making that shit up
making what up?
@@crusherfire1 i didnt even know "weak tables" is a actual term
@@nilzonkk6772 Yeah, it's in Lua docs.
You can read up more about them here:
www.lua.org/pil/17.html
Have u watched the video???
@@Astrolightation yeah, im just confused asf
This has got to be satire
what's satire?
broo please compress your dialogue you're a yappacholic fr