Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Globals vs Locals: What Is Faster?

Question
Evgeny Shvarov · May 29, 2017

Globals vs Locals: What Is Faster?

Hi, colleagues!

Consider you need to put some (less  than 1GB) data to an indexed array and do some data manipulations and calculations with it.

Should I prefer global or local for it?

Is there any general rule when local is faster than global and vice-versa?

#Globals #Performance #Caché

Source URL:https://community.intersystems.com/post/globals-vs-locals-what-faster