Closed navytux closed 7 years ago
Unfortunate that this has to change the public API, but I guess it was a mistake to make it not return *Decoder in the first place
Yes, it was probably an overlook or thinko. Thanks for merging the patches.
If you look at the original 2012 commit date it was from when I was a lot less experienced with Go :)
Yes, I understand. I was too only looking at go tour then. Anyway after those 5 years it seems to be appropriate time to correct :)
Hello up there. I've looked around a bit and prepared small speedups for decoder mainly by avoiding unnneccessary allocations. Overall it is:
Please see details in individual commit messages.
Thanks beforehand, Kirill