summaryrefslogtreecommitdiff
path: root/ltablib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-09-06 10:58:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-09-06 10:58:55 -0300
commit69b77b6fde32cdf5dcaeeb92996bf6c4697e0b4f (patch)
treee55a5cee9fb21522015f710712577c23243e2be2 /ltablib.c
parent997f11f54322883c3181225f29d101a597f31730 (diff)
downloadlua-github-69b77b6fde32cdf5dcaeeb92996bf6c4697e0b4f.tar.gz
Changed the growth rate of string buffers
The growth rate of string buffers was reduced from 2 to 1.5 (3/2). As string buffers start larger (256~1024 bytes), they don't need to grow that fast. Moreover, a lower rate allows multiplicative growth up to larger sizes (3/2 of the maximum). (After that, the growth becomes linear, which is mostly useless.)
Diffstat (limited to 'ltablib.c')
0 files changed, 0 insertions, 0 deletions