|
Add to these Gary Cornell's 3 Rules of Optimization -
Don't!
Don't!
Don't!
HTH and TIA
Vern
On 9/19/2013 12:04 PM, Scott Klement wrote:
On 9/19/2013 8:21 AM, RPGLIST wrote:more
I'm facing the need to process a very large amount of data, which is
processthan likely going to come in as a SOAP or XML stream but I need to
this quickly and without losing time with the disk arms if at allWith all of the networking going on here, all of the SOAP processing,
possible.
XML parsing, etc, you're worried about the speed of the hard drive? I
would not be.
You should start by writing your program in the most "correct", easy to
understand, easy to maintain manner. And then, look for performance
problems in actual usage. If you do have a problem, measure what's
taking the time,and determine from that how to optimize it.
More computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason — including
blind stupidity." -- W.A. Wulf
"We should forget about small efficiencies, say about 97% of the time:
premature optimization is the root of all evil." -- Donald Knuth
"Bottlenecks occur in surprising places, so don't try to second guess
and put in a speed hack until you have proven that's where the
bottleneck is." -- Rob Pike
The First Rule of Program Optimization: Don't do it. The Second Rule of
Program Optimization (for experts only!): Don't do it yet." -- Michael
A. Jackson
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.