Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!j32g2000yqh.googlegroups.com!not-for-mail
From: Rune Allnor <allnor@tele.ntnu.no>
Newsgroups: comp.soft-sys.matlab
Subject: Re: HOWTO: Accelerate processing algorithm
Date: Sun, 5 Jul 2009 06:53:07 -0700 (PDT)
Organization: http://groups.google.com
Lines: 19
Message-ID: <efb4c71f-e507-4294-a5b6-1d212c68bc4f@j32g2000yqh.googlegroups.com>
References: <ed842128-f9be-4599-b088-4b6ba049d5bc@g31g2000yqc.googlegroups.com> 
	<33224852.75691.1246800269931.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: 77.16.192.65
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1246801987 21274 127.0.0.1 (5 Jul 2009 13:53:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 5 Jul 2009 13:53:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: j32g2000yqh.googlegroups.com; posting-host=77.16.192.65; 
	posting-account=VAp5gAkAAAAmkCze5hvZtMeedpZWNthI
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
	Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:552883


On 5 Jul, 15:23, Jose Antonio <jurig...@gmail.com> wrote:
> Hi Rune

> I want the code to run as fast as possible because I am using it to perform a series of operations on a set of images and I want to check the results until I code everything properly.

Use smaller data sets (smaller images, fewer images)
for implementation checks.

> Furthermore, the algorithm should be efficient, since it is not meant to be a long postprocessing stage in the project that I am trying to develop.

This boils down to a cost/benefit analysis: How much
effort does it take on your part to achieve the fast
algorithm, and what pay-offs does this provide.

If you spend 6-9 months learning C just to cut a
processing routine from 5 min to 3 min - is it
worth it in the end?

Rune