Re: How to speed up my .m code?
- From: "Tunante Gomez" <ciegosiempreciegosiempre@xxxxxxxxxxx>
- Date: Tue, 16 Sep 2008 18:30:20 +0000 (UTC)
Rune Allnor <allnor@xxxxxxxxxxxx> wrote in message <42a00d6a-f19c-4c0e-bba9-cd3253f7387f@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
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
ok, I don't explain it well. I had to make my project in Matlab, and i would like to know if it's possible to compile my m code (to mex) to run it with more speed in Matlab (because it would be compiled before run). I knew the old way with mcc -x , but I don't know if now there is an equivalent process.
Thanks for your answers.
.
- Follow-Ups:
- Re: How to speed up my .m code?
- From: Walter Roberson
- 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
- Re: How to speed up my .m code?
- From: Rune Allnor
- How to speed up my .m code?
- Prev by Date: Re: help with filter command...
- Next by Date: Problems with wavread function
- 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
|