News for hackers. Stuff that matters.
Re:Recycling memory buffers in Go by JulianMorrison on Monday August 26, 2013 @03:08PM (#6279197)
When malloc() has to deal with defragmenting allocations of varying length, I believe it does it by allocating from several pools each holding blocks of a fixed size, picking the smallest category that will fit. It wouldn't be hard to extend the buffered-channel technique to do this.

There are no comments on this comment yet.