Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: The usage of [Thread Next] Re: The usage of To: NULL Date: 6/1/2006 10:02:00 AM I guess whether it is in order does make difference.. Joe Kesselman wrote: > mavis wrote: > > But I alway think that is not a good schema definition for XML files, > > and it must influence the writing and reading performance of these set > > of elements if there are large amounts of sub-elements. > > If there are many sub-elements, it takes more time to read them than if > there are only a few. The use of maxOccurs="unbounded" (or simply not > specifying maxOccurs at all) doesn't change that. If anything, unbounded > might reduce parsing cost because there's no need to maintain a counter > and check whether it has been exceeded. > > You're wasting time trying to micro-optimize the wrong things. > > > > -- > () ASCII Ribbon Campaign | Joe Kesselman > /\ Stamp out HTML e-mail! | System architexture and kinetic poetry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
