Re: How to speed up my .m code?
- From: Rune Allnor <allnor@xxxxxxxxxxxx>
- Date: Tue, 16 Sep 2008 11:05:01 -0700 (PDT)
On 16 Sep, 19:58, Walter Roberson <rober...@xxxxxxxxxxxx> wrote:
Tunante Gomez wrote:....
Is there another way
to speed up my code without change it?
No, R13 code cannot be compiled to a MEX file. Modern versions of the Matlab
compiler compile to an intermediate code representation that runs at the same speed
as Matlab would run on the same machine.
In order to speed up your code without changing it, you would have to do
one or more of the following:
- use a faster processor
- have more primary cache on the processor
- have more main memory
- increase the FSB (Front Side Bus) speed of your motherboard
- increase the speed of the memory on your system
- use a processor with multiple cores
Using multiple cores might not provide any noticeable speed increase: it
would depend greatly on exactly what your code was.
Since you are going heavy-duty, you might as well suggest the
obvious:
Use something else than matlab. C++ with the GIL library (distributed
with Boost) would be an intriguing alternative.
http://opensource.adobe.com/wiki/display/gil/Generic+Image+Library
Rune
.
- Follow-Ups:
- Re: How to speed up my .m code?
- From: Tunante Gomez
- Re: How to speed up my .m code?
- References:
- How to speed up my .m code?
- From: Tunante Gomez
- Re: How to speed up my .m code?
- From: Walter Roberson
- How to speed up my .m code?
- Prev by Date: Re: How to speed up my .m code?
- Next by Date: Re: help with filter command...
- Previous by thread: Re: How to speed up my .m code?
- Next by thread: Re: How to speed up my .m code?
- Index(es):
Relevant Pages
|