red-blox / zap

A lightning fast networking solution for roblox.
https://zap.redblox.dev
MIT License
95 stars 15 forks source link

Remove function shadowing #121

Closed Ketasaja closed 3 months ago

Ketasaja commented 3 months ago

Reported by @Crystalflxme in ROSS.

Crystalflxme commented 3 months ago

Thanks for bringing this up! One thing that was mentioned back when I originally noticed the shadowing was that avoiding the usage of upvalues as it was doing is apparently faster. In that case, it's probably best to change the variable name used in the spawned function.

jackdotink commented 3 months ago

beat me to it @Crystalflxme