Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Does having 2 modules that require each other cause eventual lag?

Asked by 5 years ago

As of now, when you 2 modules require each other, both modules do not execute as there is an infinite of loop of modules requiring each other, so how i did this is by having one module require the other, and then fire a function within the other module to require the first one and it seems it works perfectly, however I haven't been in my game long enough to see if this holds any problems, could someone tell me if this bad practice and I should refrain from doing this.

1
The lag at that point if any is insignificant. Why are you asking performance related questions. You don't need to care yet. User#24403 69 — 5y

Answer this question