Good point. We could keep a static map of Class -> List:String that is a
list of valid properties for each Class. That way the benefit is
retained after the very first request. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
James Cook
Sent: Thursday, January 08, 2004 2:51 PM
To: [EMAIL PROTECTED]
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.)

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