check performance difference
pjebs opened this issue · comments
Can you benchmark and check the performance difference between
the speed-up
branch (which will definitely be merged to master)
and return-slice-of-struct
branch (which will probably go to v2).
The difference is that when you provide a ConcreteStruct, the speed-up
branch returns []interface{}
containing *struct
whilst return-slice-of-struct
returns []*struct
return-slice-of-struct
uses fore reflect
pkg and is not backward compatible.