[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Speed in Languages and Browser Architectures

  • From: "derek denny-brown" <zuligag@g...>
  • To: "Michael Champion" <mc@x...>
  • Date: Fri, 2 Mar 2007 21:57:21 -0800

Re:  Speed in Languages and Browser Architectures
The .NET v2 parser is faster that the old C++ parser mostly because
the C++ parser was a 1st gen XML parser while the .NET parser is ~3rd
gen.  Also, the C++ parser had to have namespace processing layered,
because XML Namespaces as they are known now, didn't exist until the
core of the parser was long done.  If you took the same basic
principles that make the .NET parser so fast, I am extremely confident
you could build a faster C++ parser.

On 3/2/07, Michael Champion <mc@x...> wrote:
>
>
> > -----Original Message-----
> > From: derek denny-brown [mailto:zuligag@g...]
> > Sent: Friday, March 02, 2007 12:40 PM
> > To: Elliotte Harold
> > Cc: Rick Marshall; Tei; xml-dev@l...
> > Subject: Re:  Speed in Languages and Browser Architectures
>
> > Except that we are talking about the performance of XML parsers, and
> > XML is all about string processing and Java string processing is slow.
> >  Java XML parsing will never be faster than a good XML parser written
> > in C.  There is just too much overhead, and C benefits from 'struct's,
> > the lack of which hinders ones ability to write certain constructs
> > efficiently in Java.    Any sufficiently fast Java XML parser could be
> > ported to C and made faster in the process.
>
> You would know the answer and be able to talk about it, so I'll ask you,
> Derek:  Aren't the Microsoft .NET parsers faster than the Native parsers?
> If so, is that because the MSXML crew have been so busy with the plumbing
> that they haven't been able to focus on optimization, because .NET string
> processing is faster than Java, or what?
>
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.