> So is it the duplication of the struct that is causing the performance
> hit?
Yes, that has been my experience.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Sett
On Tuesday, October 7, 2003, at 06:02 PM, Dave Watts:
> In my experience, this has occasionally caused severe performance
> degradation, so you'll want to be very careful when doing this. In
> general,
> I'd try to avoid doing it at all.
Really? That is quite surprising.
So is it the duplicat
> Can anyone see any reason why you wouldn't want to copy session
> scope variables to a request scope variable if all you want to do
> is to test the values in them but not set them?
>
> It strikes me that this would be more efficient than locking the
> session scope each time you wanted to tes
From experience, using duplicate() when copying a structure from session to request or a local variable could cause a slight, performance degradation. Of course, it depends on how big the structure is. If the structure was big, I would use cflock inline with the assignment code in question, rathe
We have some information on this in our blog here: -
http://www.webapper.net/index.cfm?fuseaction=Fuseblog.ShowComments&ArticleID=2002125607
Hth
Kind Regards - Mike Brunt
Original Message ---
Zac,
On 10/7/2003 at 16:29, you wrote:
ZB> Can anyone see any reason why you
Zac,
On 10/7/2003 at 16:29, you wrote:
ZB> Can anyone see any reason why you wouldn't want to copy session
ZB> scope variables to a request scope variable if all you want to do
ZB> is to test the values in them but not set them?
ZB> It strikes me that this would be more efficient than locking th
Can anyone see any reason why you wouldn't want to copy session scope variables to a request scope variable if all you want to do is to test the values in them but not set them?
It strikes me that this would be more efficient than locking the session scope each time you wanted to test the variable
7 matches
Mail list logo