On Tue, 10 Jun 2003 [EMAIL PROTECTED] wrote:

>
> Hi,
>
> additional comment about the performance.
> I have debuged the method parseURI with the following Argument:
> file:/C:/Data/Eclipse/workspace-lib/WorldAccount-webapp/tomcat/webapps/wa/
> I have append the Stackframe the regexp library need to resolve this
> regexp. You can see that are a lot of recursive funktion calls and there is
> a lot of code executed in each loop. I am a litle bit concerned about the
> performance, because resolving is really often called in Cocoon.
> Hmmmm,  "org.apache.regexp" library  is also used inside the Matcher, so I
> asked me if there are faster regexp libraries available. Whats about the
> ORO stuff? Are there some performance measurements available?
>
> It seams that we need to write our own handwritten parser for the URI
> stuff. What do you think?

Writing a regex algorithm with a recursive implementation is a bad idea,
I use, for example, a NFA with a lazy subset calculation.

I can remind me that the httpclient lib include a URI parser, might be
a solution.

Stephan.

Reply via email to