DylanMeeus / GoAudio

Go tools for audio processing & creation 🎶
MIT License
350 stars 39 forks source link

Explicitly allocate memory for slices #25

Open hollowness-inside opened 6 months ago

hollowness-inside commented 6 months ago

Allocate memory for slices explicitly. This eliminates unnecessary memory allocations and copies when appending to the slice.

DylanMeeus commented 6 months ago

This looks good as is, thank you for the commits! I will check locally before merging in ~2 weeks (travelling without any machine to check).