Can you please create a Jira issue and attach these there? > -----Original Message----- > From: boxed [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2003 3:55 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] URLBean performance issues > > > I have a pretty large velocity page that needs to generate a lot of > urls, and I noticed that the roughly 4000 urls generated with the > URLBean class took about two seconds to generate. I took a > look at the > code and saw that it creates and throws away a StringBuffer AND a > HashMap every single iteration. The URLTag class has the exact same > issue (since it's a copy paste instead of a reuse of the same code, > blech). I have attached the updated code, which is roughly > twice as fast > on this perticular page at least. > > I looked at com.opensymphony.webwork.views.util.UrlHelper.java and it > seems to have the exact same issue, although in this case it's not as > easy a fix since it's not claiming to be a bean. > > Anders Hovmöller >
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork