NewPigo + Unpack overhead?
cgxeiji opened this issue · 0 comments
cgxeiji commented
I was wondering why func Unpack() (*Pigo, error)
needs to be a method of the struct Pigo
if that struct is never used inside the method. I think making Unpack()
a method of the package, instead of the struct, would have less overhead when initializing the classifier.
What do you think?