mirror of https://gitee.com/bigwinds/arangodb
start with a larger initial buffer
This commit is contained in:
parent
ae2c588caa
commit
2e7a9926f3
|
@ -124,7 +124,7 @@ void TRI_InitStringBuffer (TRI_string_buffer_t * self, TRI_memory_zone_t* zone)
|
|||
memset(self, 0, sizeof(TRI_string_buffer_t));
|
||||
self->_memoryZone = zone;
|
||||
|
||||
Reserve(self, 1);
|
||||
Reserve(self, 100);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue