I'd copy it into the request scope (be SURE to use Duplicate() since it's a complex 
variable, and be sure to get the Duplicate Hot Fix for CF).

No need to lock the request scope.

Chris Norloff

---------- Original Message ----------------------------------
from: "Tim Dempsey" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Wed, 22 Aug 2001 10:13:37 -0400

>Folks,
>
>I have a (possibly) huge structure being maintained in Session scope. I am
>in the process of making sure that I have all the appropriate locks when
>referring to the structure.
>
>My question is this:
>
>One of my templates makes a number of references (some read only, some
>write) to this structure. Is it better for me (performance-wise) to make a
>duplicate of the session structure in the Request scope and place the locks
>around that copy thereby no longer needing locks around the other
>references, Or is it better just to put locks on all the other references?
>Is this simply a matter of how many references there ans some number of them
>make a break-even point?
>
>Thanks,
>  -- Tim Dempsey
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to