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

RE: Design as, one hopes, not premature optimization


premature optimization
Someone wrote:
>the accepted wisdom that premature optimization is evil?

Here's what that accepted wisdom means: A well-structured program is an 
important prerequisite for optimizing dynamic evaluation, because it leaves 
you the flexibility to optimize precisely the things that a profiler tells 
you are the bottlenecks, and the resulting code is still maintainable.

But optimizing dynamic evaluation is also a kind of design, and it is is 
not the only kind of optimization.

All design is optimization. In the early phases, it is best to optimize the 
understandability of a model and its applicability to a variety of usage 
scenarios. The most important bottleneck is often the human being who needs 
to deal with markup. Is the markup hand-edited? What tools are used for 
this editing - is it harder to work with attributes using these tools? Will 
a human being need to look at instances and write programs or formulate 
queries? If so, hiding the real action in the PSVI or Information Set may 
be a problem. In some few environments, it may also be important to 
optimize for certain desired mathematical properties.

Human beings, editing tools, and mathematical properties are rather 
inflexible. It's good to plan for them early on.

Jonathan 


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.