On Tue, Feb 15, 2011 at 9:00 PM, xiaoming shi wrote:
> In the file 
> ./struts-2.2.1/src/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/compiler/JspUtil.java
> line: 100
>
> In the function "escapeQuotes", it keeps on searching the input string
> repeatedly. The complexity is O(N**2) which can be O(N).

(But I believe you're correct; it'd be quicker to use
substring(String, int)--is that what you're referring to?)

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to