MIT License

项目介绍

howmanysmall/Janitor 是一个托管在 GitHub 上的开源项目,主要使用 Luau 编写,采用 MIT License 许可证,目前获得 152 个 Star、18 次 Fork。

仓库全名
howmanysmall/Janitor
开源许可证
MIT License
Star 数
152
Fork 数
18
未关闭 Issue
6

README 摘要

Janitor 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. Now on roblox-ts! Projects that use Janitor If your project uses Janitor, leave a PR on the readme! Armtastic by Mullets Mafia Red Be an Alien: Renewal by…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Janitor 用什么语言开发?

主要使用 Luau 编写,采用 MIT License 许可证,目前有 152 个 Star。

Janitor 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Janitor 的源码?

可以直接克隆仓库:git clone https://github.com/howmanysmall/Janitor.git,默认分支为 main;安装与运行步骤见仓库 README。

Janitor 最近还在维护吗?

仓库最近一次更新为 7月29日,当前有 6 个未关闭 Issue;Star 数为 152,可作为社区活跃度的参考。

关于

Janitor library.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
194
价值分
96
活跃状态
活跃

README

Janitor

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.

Now on roblox-ts!

Projects that use Janitor

If your project uses Janitor, leave a PR on the readme!

Why use Janitor?

  • 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 a Tween. 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 and Maid:GiveTask(Y) vs Janitor:Add(X, nil, "A") and Janitor:Add(Y))
  • Janitor also allows linking to an Instance, so when the Instance is destroyed, the Janitor cleans up everything along with it.

Some less important benefits

  • Runs a little better than Maid does.

Performance

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.

Benchmark results

Benchmarks ran on an R9 3900X with 32GB of DDR4-3600 RAM.

评论

暂无评论