octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OCTAVE_LOCAL_BUFFER


From: John W. Eaton
Subject: Re: OCTAVE_LOCAL_BUFFER
Date: Sat, 13 Dec 2008 17:39:03 -0800

On 12-Dec-2008, Jaroslav Hajek wrote:

| This optimization is now uploaded. Octave will use a stack of 32MB
| chunks and serve local buffers < 4MB for
| the registered POD types (char, s/u short, int, long, float, double,
| Complex, FloatComplex) from this stack.

Thanks.

Have you looked at how much memory is used just to get to the Octave
prompt in typical usage?  Is it typical that multiple chunks will be
alloated if we use 32MB?

| I think the 32MB size should at least be configurable, but I'm not
| sure about the best way to do it. An environment variable, configure
| switch, or sthing else?

The simplest thing would probably be a function, but that would only
apply to subsequent allocations, not the first chunk.

jwe



reply via email to

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