aboutsummaryrefslogtreecommitdiff
path: root/re.html
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-02-22 14:01:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-02-22 14:01:19 -0300
commit1b55119610ba5a6752c768c2f997a90c0ffc0546 (patch)
tree9075c8938dd14ecc56859e59928e8df3eb326694 /re.html
parentc2680687d148820847607e13ed7100e60d94c79e (diff)
downloadlpeg-1b55119610ba5a6752c768c2f997a90c0ffc0546.tar.gz
lpeg-1b55119610ba5a6752c768c2f997a90c0ffc0546.tar.bz2
lpeg-1b55119610ba5a6752c768c2f997a90c0ffc0546.zip
Better computation of size limit in 'growcap'
Old code mixed size in elements (counted with 'int's) with size in bytes (division by the size of an element). Moreover, when it could not double the size, it grew it one by one, which is undoable performance-wise.
Diffstat (limited to 're.html')
0 files changed, 0 insertions, 0 deletions