Closed TwitchBronBron closed 3 months ago
Turns out #940 actually slowed down performance. It's faster to just make new Range and Location objects directly. V8 does a great job optimizing this flow.
Range
Location
Caching enabled on local:
local
Caching disabled on local:
Turns out #940 actually slowed down performance. It's faster to just make new
Range
andLocation
objects directly. V8 does a great job optimizing this flow.Caching enabled on![image](https://github.com/rokucommunity/brighterscript/assets/2544493/1afa40d8-6207-4539-a341-596859eb2d8b)
local
:Caching disabled on![image](https://github.com/rokucommunity/brighterscript/assets/2544493/29593c8f-d293-4cb5-a2ca-1c0ad7796c3b)
local
: