On 10/27/2017 04:32 AM, go-question wrote: > I'm accustomed to avoiding reflection in other languages due to > performance concerns, is that unfounded with Go's reflect package? >
There is some cost to using the reflect package but I don't think that cost is unusually high. I think whether it is 'performant' depends on your requirements. I'd start by using the test tool to benchmark your code that needs reflect too see if it meets your needs. -ayan -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.