octave-maintainers
[Top][All Lists]
Advanced

[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 10:24:23 +0100

On Mon, Aug 30, 2010 at 10:02 AM, Jaroslav Hajek <address@hidden> wrote:
> Whether or not an array is temporary is not that much relevant; the
> important point is that the array is hanging around. If I'm working
> with arrays of 10^7 doubles, saving a temp of 10^6 doubles is
> marginal, even though it may be a huge saving otherwise. But you're
> indeed right that cmapv is not 3*lda long. So put 25% there.

It's not a factor 10, but more a factor 3, which means you can gain about
30-33% memory. If you can do it, why not?

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]