Janitor library. This branch is for the thread safe version of Janitor that does not use a global state.
Original was made by Validark, however he doesn't really maintain that version anymore. It does have all the original documentation for it though.
If your project uses Janitor, leave a PR on the readme!
- Armtastic by Mullets Mafia Red
- Be an Alien: Renewal by PeZsmistic
- Benchmarker by boatbomber
- RBLX04 by movsb
- RepoToRoblox by a great friend (boatbomber lol)
- Science Simulator by Interbyte Studio
- Studio Tweaks by PeZsmistic
- Bloopville (NOT RELEASED) by BloopVille Team
- Tropical Town Tycoon by Mightybull Games
- Janitor makes dealing with garbage collection much less annoying and stressful because it manages them all in a nice interface.
Janitor:Add
returns whatever was added, which Maid doesn't.Janitor:Add
also accepts a custom method, if you want to call:Stop
on aTween
. You can see this being used in the JanitorPromise library.Janitor:Add
also accepts a custom reference to store under, which keeps the api more consistent. (Maid.A = X
andMaid:GiveTask(Y)
vsJanitor:Add(X, nil, "A")
andJanitor:Add(Y)
)- Janitor also allows linking to an Instance, so when the Instance is destroyed, the Janitor cleans up everything along with it.
- Runs a little better than Maid does.
Janitor runs incredibly well. It is quite a bit faster than Maid and around as fast as Dumpster. You can run the benchmark for yourself using boatbomber's benchmark plugin and the bench found here.
Benchmarks ran on an R9 3900X with 32GB of DDR4-3600 RAM.