Sylvain Wallez wrote:

> Torsten Curdt wrote:
> 
> ... or is this bad scalability a past myth ? I refactored 
> ServerPagesGenerator at the beginning of december to make the 
> document-completion stuff faster and optional (disabled by default). 
> This was using a LinkedList to keep track of the open XML elements.


LinkedList?  That is the slowest list we have!



> For more info, see 
> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100739488123738&w=2
> 
> The next thing that's needed for XSP to be as fast as a regular 
> generator is a way to remove unneeded white space used for indenting in 
> the XSP source : about half of produced SAX events are blank strings.


Perhaps we need a "strip whitespace" option on the SAX parser?




-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


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

Reply via email to