NevermoreEngine icon indicating copy to clipboard operation
NevermoreEngine copied to clipboard

use common static values for Vector2/Vector3/CFrame

Open BaileyTab opened this issue 4 years ago • 1 comments

in a recent release note Screenshot 2021-12-10 at 20 21 32

this pull request basically just replaces any instances where those static methods can be used over constructing a new datatype

here's a benchmark of the performance gains of using Vector3.zero instead of Vector3.new(...) image benchmarked on an Apple M1

BaileyTab avatar Dec 10 '21 20:12 BaileyTab

Looks great. We'll need to update luacheck to make this happen. And probably update selene too. And then we'll also want to update main.

Quenty avatar Dec 10 '21 20:12 Quenty