Refs

paymon at 365.co.uk paymon at 365.co.uk
Thu Nov 30 05:36:42 CST 2000


I used a scalar in the example but it was supposed to say 'big data structure' not bad data structure.
So I use it when it massive, innit.


On Thu, Nov 30, 2000 at 11:28:46AM -0000, Gareth Noyce wrote:
> References to scalars are no quicker, however arrays and other
> data-structures do see a lot of benefit from references. In general I tend
> to use references purely for passing closures/tieing events to anonymous
> functions and getting around weird TK namespacing issues...
> 
> "Advanced Perl" -- chapter one p9-10, discusses reference passing
> performance. The last few chapters discuss the internals in more detail...

-- 
--------------------------------------------------------------------------------
Paymon Yau, Web Developer, 365 Corporation plc
--------------------------------------------------------------------------------
p:+44 (020) 7505 7848      f: +44 (020) 7505 7802      i: http://www.365corp.com
--------------------------------------------------------------------------------
Registered in England no 3435822
Registered office: 52 Gloucester Place, London W1H 3HJ
--------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from
any computer.




More information about the Southampton-pm mailing list