Assign built in functions to variables vs regular built in functions

Like whats the gain by doing this, if you don’t understand heres a code sample

local vector3 = Vector3.new
local vector2 = Vector2.new
local udim2 = UDim2.new
local rad = math.rad

Does it save memory or something?

1 Like