summaryrefslogtreecommitdiff
path: root/buildSrc
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-06-09 11:52:12 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-06-09 11:52:12 +0200
commit5dc9ddf3dad048984ba8b60f6a375d0c5d2ef731 (patch)
treeb87db8f895920dc178749ed84ed94b40cd508db6 /buildSrc
parentd146814bbbb86bfcb19ccb94250424703e9179e5 (diff)
fix(sim/compute): Limit growth rate for trace construction
This change fixes an issue where the `SimTrace.Builder` would quickly allocate too much memory when constructing a trace, due to doubling the array sizes each time. Instead, we use the approach used by `ArrayList`, where we increase the array size by 50% every step.
Diffstat (limited to 'buildSrc')
0 files changed, 0 insertions, 0 deletions