diff src/ov.cc @ 2477:3d905d3820a4

[project @ 1996-11-07 16:46:11 by jwe]
author jwe
date Thu, 07 Nov 1996 16:48:16 +0000
parents 1d7925d6bede
children 49ae0d992eea
line wrap: on
line diff
--- a/src/ov.cc	Thu Nov 07 05:16:55 1996 +0000
+++ b/src/ov.cc	Thu Nov 07 16:48:16 1996 +0000
@@ -51,6 +51,11 @@
 #include "utils.h"
 #include "variables.h"
 
+// We are likely to have a lot of octave_value objects to allocate, so
+// make the grow_size large.
+octave_allocator
+octave_value::allocator (sizeof (octave_value), 1024);
+
 // If TRUE, allow assignments like
 //
 //   octave> A(1) = 3; A(2) = 5