id3v2 v1.0.1 Release Notes

Release Date: 2018-08-15 // over 3 years ago
    • 🛠 Fix parsing ID3v2.3 frame sizes. Earlier id3v2 didn't parse correctly v2.3 frame sizes. Huge thanks to @rstemmer for pointing to v2.3 size format #13, #34
    • ⬇️ Reduce memory allocations in encoding operations 211759e
    • 🐎 Performance compared to v1.0.0:

      name old time/op new time/op delta ParseAllFrames-4 77.4µs ± 6% 77.1µs ± 5% -0.36% (p=0.690 n=5+5) ParseAllFramesISO-4 78.7µs ± 3% 76.3µs ± 1% -3.01% (p=0.008 n=5+5) ParseArtistAndTitle-4 2.40µs ±16% 2.45µs ±15% +2.06% (p=0.690 n=5+5) Write-4 6.89µs ± 4% 6.79µs ± 2% -1.56% (p=0.310 n=5+5) WriteISO-4 11.0µs ± 0% 9.4µs ± 0% -14.65% (p=0.016 n=4+5)

      name old alloc/op new alloc/op delta ParseAllFrames-4 263kB ± 0% 263kB ± 0% -0.01% (p=0.095 n=5+5) ParseAllFramesISO-4 264kB ± 0% 264kB ± 0% -0.08% (p=0.008 n=5+5) ParseArtistAndTitle-4 732B ± 1% 734B ± 1% +0.25% (p=0.460 n=5+5) Write-4 2.55kB ± 0% 2.55kB ± 0% ~ (all equal) WriteISO-4 6.99kB ± 0% 6.39kB ± 0% -8.58% (p=0.000 n=5+4)

      name old allocs/op new allocs/op delta ParseAllFrames-4 62.0 ± 0% 61.0 ± 0% -1.61% (p=0.029 n=4+4) ParseAllFramesISO-4 76.6 ± 1% 66.0 ± 0% -13.84% (p=0.008 n=5+5) ParseArtistAndTitle-4 14.6 ±11% 14.6 ±11% ~ (p=1.000 n=5+5) Write-4 35.0 ± 0% 35.0 ± 0% ~ (all equal) WriteISO-4 80.0 ± 0% 50.0 ± 0% -37.50% (p=0.008 n=5+5)