summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2018-01-17 14:27:28 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2018-01-24 18:22:20 -0800
commitdff744558b32de05bbcf2e7a4804cb3c89e6658e (patch)
tree39d859054baeaa989dd2f32ee37479534a6bfaeb /shared-module
parentd201ac20af8733b5220df38251e3531c25f34cab (diff)
Make parsing more memory flexible.
The parser attempts to allocate two large (~512 byte) chunks up front. If it couldn't, then it would error out. This change will cause it to try allocating half the previous attempt until its down to two copies. This is ok upfront because later code checks bounds and tries to extend the allocation if needed.
Diffstat (limited to 'shared-module')
0 files changed, 0 insertions, 0 deletions