[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OctDev] optimized lookup
From: |
David Bateman |
Subject: |
Re: [OctDev] optimized lookup |
Date: |
Mon, 18 Feb 2008 10:01:11 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070914) |
Jaroslav Hajek wrote:
> I've added an optimized compiled version of Octave's lookup into main/general
> (main/general/src/lookup.cc). It seems to be faster in almost all
> cases on my computer,
> often much faster in the typical cases (downsampling, scarce lookup).
> Any feedback is welcome.
>
>
Jaroslav,
Lookup is an octave core function and so it would be better if the
decision was made to go with a compiled version of lookup to include it
in Octave itself rather than in octave-forge.. Can you tell us what the
improvements are.. Note that comments I've seen in the past about
compiled code is that there should be some justification of why its
better to use it rather than an m-file in terms of how often it is used
and the size of the speed improvement, since the effort in maintaining
C++ code is higher than m-files..
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- Re: [OctDev] optimized lookup,
David Bateman <=