Hello, So we are making a platform where we have to use a TON of short lived structs, in order to optimize this we intend to use sync pool, however on our benchmark tests I have found that it only seems to improve performance when the struct is big enough, for smaller structs ie: (4-5 string values) it seems to be considerably slower, yet I see many packages (such as fasthttp) using sync pool for basically everything. Is there anything I am missing? Any recommendations of when to use sync pool?
Thanks! -- 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.