Re: minimal (?) optimization (Was Re: String manipulation, optimize)
- From: "R. Rajesh Jeba Anbiah" <ng4rrjanbiah@xxxxxxxxxxxxxx>
- Date: 10 Aug 2005 07:35:55 -0700
Jerry Stuckle wrote:
> R. Rajesh Jeba Anbiah wrote:
<snip
> > Sorry, I can't agree with you. In the world of optimization, there is
> > no minimal or maximal optimization--there is only onething, it's
> > optimization. Consider a situation/expression in which you can improve
> > the speed to 0.000001 second--and consider the same in 1000000 loop.
> > So, IMHO, definitely it is worth to optimize, even it is less than a
> > nano second thing.
<snip explanation and examples on optimization>
> The above examples are just the tip of the iceberg. Optimization is not black
> and white, as you indicate. There are many, many levels of optimization involved.
True that we don't have enterprise level code metrics tools (like
devpartner) for PHP. It is true that there will be a time where the
testing department will do the code metrics, performance/stress testing
and the development team will again sit and try to improve on the next
cycle. But, my point is that, always better to code based on set of
coding standards that even care what is minimal optimization--so, that
in the next cycle you'd be better off spending time in improving other
things than doing what is known (though it proivides minimal effect).
My concern is that newbies shouldn't be impressed to follow "build
crap-remove crap" kind life cycles. FWIW, my humble opinion is to form
a coding standard that even cares these (what is trivial) things first
and work on that.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com
.
- References:
- String manipulation, optimize
- From: Rune
- Re: String manipulation, optimize
- From: Erwin Moller
- minimal (?) optimization (Was Re: String manipulation, optimize)
- From: R. Rajesh Jeba Anbiah
- Re: minimal (?) optimization (Was Re: String manipulation, optimize)
- From: Jerry Stuckle
- String manipulation, optimize
- Prev by Date: Re: CVS for Databases?
- Next by Date: Re: <?= "Help" ?>
- Previous by thread: Re: minimal (?) optimization (Was Re: String manipulation, optimize)
- Next by thread: Re: String manipulation, optimize
- Index(es):
Relevant Pages
|