balena-os / balena-engine

Moby-based Container Engine for Embedded, IoT, and Edge uses
https://www.balena.io
Apache License 2.0
696 stars 67 forks source link

Less GC pressure when generating delta signature #438

Open lmbarros opened 1 year ago

lmbarros commented 1 year ago

Pre-allocate memory used for generating delta signatures. This reduces the pressure on the GC, uses a bit less memory and is a bit faster.