Language Reference Guide : System Classes : StringObject Class : AllocateBufferExtra
 
Share this page          
AllocateBufferExtra
DataType: integer
4GL Access: RW
The AllocateBufferExtra attribute defines the number of extra bytes allocated during each internal string buffer allocation (when setting the value or concatenating).
The default value is 128, which can be overridden by the environment variable II_W4GL_STRINGOBJECT_ALLOCATEBUFFEREXTRA_DEFAULT. For more information, see the Workbench User Guide.
Using larger buffer sizes improves performance of StringObjects where a use case involves many string concatenations.