[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: surface cdata property restricted to double or uint8
From: |
Michael Goffioul |
Subject: |
Re: surface cdata property restricted to double or uint8 |
Date: |
Mon, 30 Aug 2010 09:14:27 +0100 |
On Mon, Aug 30, 2010 at 6:34 AM, John W. Eaton <address@hidden> wrote:
> On 30-Aug-2010, Jaroslav Hajek wrote:
>
> | If I see right, however, you save the space for lda doubles, but there
> | are already two arrays of 3*lda doubles around (cmapv and av), which
> | means you'll save 14% memory at best. That is really not much in
> | Octave's context. I would likewise prefer the simpler change.
>
> OK, I checked in the following change.
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/56f9c10e9e98
>
> Note that instead of adding a constraints, I simply removed the
> existing constraints on the cdata and alphadata surface properties.
> Does anyone see a problem with doing that?
Personally, I preferred your first suggestion. Someone using uint8 to save
memory when dealing with large data will actually have little benefit
of doing so.
Michael.
- surface cdata property restricted to double or uint8, John W. Eaton, 2010/08/27
- Re: surface cdata property restricted to double or uint8, Shai Ayal, 2010/08/29
- Re: surface cdata property restricted to double or uint8, John W. Eaton, 2010/08/29
- Re: surface cdata property restricted to double or uint8, Shai Ayal, 2010/08/30
- Re: surface cdata property restricted to double or uint8, John W. Eaton, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Shai Ayal, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Jaroslav Hajek, 2010/08/30
- Re: surface cdata property restricted to double or uint8, John W. Eaton, 2010/08/30
- Re: surface cdata property restricted to double or uint8,
Michael Goffioul <=
- Re: surface cdata property restricted to double or uint8, Jaroslav Hajek, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Michael Goffioul, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Jaroslav Hajek, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Michael Goffioul, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Jaroslav Hajek, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Michael Goffioul, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Jaroslav Hajek, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Michael Goffioul, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Jaroslav Hajek, 2010/08/30
- Re: surface cdata property restricted to double or uint8, Michael Goffioul, 2010/08/30