Skip to content
Snippets Groups Projects
Commit 70868c01 authored by Tom Lane's avatar Tom Lane
Browse files

Increase the initial size of StringInfo buffers to 1024 bytes (from 256);

likewise increase the initial size of the scanner's literal buffer to 1024
(from 128).  Instrumentation of the regression tests suggests that this
saves a useful amount of repalloc() traffic --- the number of calls occurring
during one set of tests drops from about 6900 to about 3900.  The old sizes
were chosen in the late 90's with an eye to machines much smaller than
are common today.
parent ae65ca31
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment