|
From: | Quentin Spencer |
Subject: | Re: Odd behavior of time-domain convolutions |
Date: | Wed, 05 Sep 2007 13:53:37 -0500 |
User-agent: | Thunderbird 2.0.0.5 (X11/20070719) |
John W. Eaton wrote:
On 5-Sep-2007, Quentin Spencer wrote:| I've used the wrapper | approach before where the only difference was the interface code, and | even then the mex code was a little faster, but not by the large margins | you are observing.I'm surprised by that becuase I think more work has to be done to set up and recover from calling a function with the MEX interface. Also, in some cases copies of the data passed to and from a MEX file are required when no copy is needed with the .oct file interface.
It may be that my problem was what David pointed out--using the indexing functions that bring in a lot of extra overhead.
Quentin
[Prev in Thread] | Current Thread | [Next in Thread] |