OCTAVE_LOCAL_BUFFER
John W. Eaton
jwe at octave.org
Sat Dec 13 19:39:03 CST 2008
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
More information about the Octave-maintainers
mailing list