On Wed, May 3, 2017 at 6:50 PM Piotr Narewski <piotr...@gmail.com> wrote:
> Perhaps that is the reason; when I need 515 bytes, it actually allocates 1024 > This might be when I'm loosing the mem. Not if you Put() it back after use ;-) It's of course also possible to make the allocation granularity finer if necessary (and/or Fibonacci-ish). -- -j -- 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.