On Sun, Jan 17, 2010 at 11:44 AM, Eric Nicholas Sweeney
<[email protected]> wrote:
> I would also add - that this probably doesn't exactly fall into the
> "Premature" category.  The code is completed and it works. Now am I
> wondering the different ways it could or should be improved upon...

"improved upon" is pretty broad. If you criteria is maintainability,
you may refactor in a different direction to performance - sometimes
they trade off against each other.

So the question is: is it "fast enough"? If the answer is yes,
performance is not an issue. If the answer is yes, profile it (and
timing code to see where the bottlenecks are) and refactor for
performance.

If it is fast enough, the question is: can you maintain it? Do you
find the suggested alternatives easier from a maintenance point of
view or not?

The fastest code is not always the easiest to maintain - and may vary
between different versions of CF as well.

That's why "premature optimization" is being bandied around as a concern here...
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies US -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwoo

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to