• I'm not sure that allocating variables globally is of help since locals are searched first when interpreting the code... if of course depends on how many other locals and globals are around. I understand where the though is coming from: allocation and deallocation work can may be skipped... on the other hand for instance garbage collection, any reference in a scope does something when 'entering and leaving' the scope... may be it is less of housekeeping.

About

Avatar for allObjects @allObjects started