--- Brian Ingerson <[EMAIL PROTECTED]> wrote: > Garrett Goebel wrote: > > > > From: Paul [mailto:[EMAIL PROTECTED]] > > > > > > Anybody know offhand *why* my() lexicals are supposedly faster? .... > Yes this is OT, but I'll contribute to the problem as well... > > My coworker Gisle Aas (maybe you've heard of him ;) says that globals > and lexicals have identical speed because Perl optimizes out the > symbol-table lookup. > > Trust Gisle. lol -- now *there's* an answer. So for my details I should go to the parse tree docs, and the code, I'm thinking. BTW -- with many thanks to everyone -- my question was "why are they faster", but the reason was never the speed -- it was to understand the way Perl stores and *accesses* lexicals. Any input? =o) __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
