[go-nuts] Re: Do closures cons?

2017-10-17 Thread Juliusz Chroboczek
> Depends on what your profiling is telling you. The trouble is -- I have no idea what is the impact of small allocations. I've managed to eliminate most useless large allocations (the amount of data consed used to be twice the amount of data processed, it's now on the order of 103%), which has ha

[go-nuts] Re: Do closures cons?

2017-10-17 Thread Juliusz Chroboczek
> A method value, on the other hand, will allocate memory in some cases, > as it may need to hold a copy of the value whose method will be > invoked. Even if the method takes a pointer receiver? -- Juliusz -- You received this message because you are subscribed to the Google Groups "golang-nut