in reply to Re: Examples fo Where "our" is really needed
in thread Examples fo Where "our" is really needed

lexicals are always faster than globals - provided you have direct access to them - since package globals require a hashtable lookup
package variables do not require a hash table lookup; each relevant op contains a pointer to the typeglob (or in the case of ithread builds, an index into the pad which contains the typeglob). It's still slightly slower than lexicals since a few more pointers have to be followed.

Dave.

  • Comment on Re^2: Examples fo Where "our" is really needed

Replies are listed 'Best First'.
Re^3: Examples fo Where "our" is really needed
by Joost (Canon) on May 05, 2005 at 09:26 UTC