Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless frames of opts.ParseFrames
If the frame can be only one in tag, don't take into consideration more frames with id. Huge performance improvement, when opts.ParseFrames is set: name old time/op new time/op delta ParseArtistAndTitle-4 64.4µs ± 1% 19.5µs ±24% -69.71% (p=0.000 n=8+10) name old alloc/op new alloc/op delta ParseArtistAndTitle-4 844B ± 0% 812B ± 1% -3.81% (p=0.000 n=10+9) name old allocs/op new allocs/op delta ParseArtistAndTitle-4 25.0 ± 0% 17.2 ±13% -31.20% (p=0.000 n=10+10)
- Loading branch information