jamf / go-mysqldump

Create SQL dumps in Go without external dependencies
MIT License
18 stars 24 forks source link

Reduce the memory usage by leaving values as the arrays they are #1

Closed BrandonRoehl closed 5 years ago

BrandonRoehl commented 5 years ago

This reduces the memory because we don't have to malloc the space for combined strings and hold.

Reduces memory usage so now we only require n + x bytes in memory for the largest table instead of 2(n+x) for the largest table.