----- Original Message -----
From: "James Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 12:51 AM
Subject: RE: [OS-webwork] Xwork/WebWork2 under extreme load


> > -----Original Message-----
> > Behalf Of Patrick Lightbody
> > Sent: Thursday, January 08, 2004 5:46 PM
>
> > I was thinking that a huge performance boost could come from
> > remembering the index for certain properties, but I admit I
> > haven't fully thought this through and there might be more
> > than a few problems with it. The idea is that if you ask for
> > "foo" and we've learned that the VS can get "foo" at index 2
> > (from the last time "foo" was asked for), why should we both
> > looking at index 1 again?
>
> Huge only if you load the same property twice. (Which for some may be a
> lot, not usually for me though.)
>

You are not right at least as I think. Every time you are accessing somthing
like user.name user.address you are always goung through all value stack to
get user object. I found that this way to get vales from the stack is best
for me.

> Perhaps the storage mechanism in the ValueStack can be replaced or
> augmented with this type of hash lookup when the value stack is built
> instead of when a value is requested.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to