[ Content Deleted ]

[ Content Deleted ]‌

19 Likes

If you use import a lot in your projects (which is its design), setting or getting the fenv causes code to be slower; as luau’s optimisations have to be disabled.

This could’ve been executed much better, but using the environment makes it defeat its very purpose (being a better require).

1 Like

I realised this after I created it. I might redo it and move the current version to a new branch so that it just returns a tuple, rather than injecting into the environment.

1 Like

Closed as requested by the post owner.