running the code in a numeric for loop while using tick() to time it
Script 1:
local t = tick()
for i =1,100000 do
workspace.Part.Size = Vector3.new(1, 1, 1)
end
print(tick()-t,"vnew function") -- 0.19797945022583 vnew function
Script 2:
local t = tick()
for i =1,100000 do
local vectornew = Vector3.new
workspace.Part.Size = vectornew(1, 1, 1)
end
print(tick()-t,"direct call") --0.18948841094971 direct cal
ik this isnt a perfect timing system, but with large enough numbers , the better the approximation gets