1. 10 May, 2021 1 commit
  2. 19 Jun, 2019 1 commit
  3. 21 May, 2019 1 commit
  4. 23 Jan, 2019 1 commit
  5. 06 Oct, 2018 1 commit
    • Steven Allen's avatar
      pool pointers to pointers · c136f72a
      Steven Allen authored
      So, creating interfaces *allocates*. That means `pool.Put([]byte)` allocates,
      that's obviously bad. This was, unfortunately, showing up in go-ipfs after
      switching to a pool-backed yamux.
      
      What's the solution to too many allocations? More object pools!
      c136f72a
  6. 21 Jan, 2018 1 commit
    • Steven Allen's avatar
      support large slices · deedd3bb
      Steven Allen authored
      They won't use the buffer pool but it doesn't hurt to be nice to the user by
      allocating such slices anyways.
      deedd3bb
  7. 20 Dec, 2017 3 commits
  8. 21 Nov, 2017 1 commit
    • Steven Allen's avatar
      make ByteSlicePool a *Pool, not a Pool. · 5ef65a03
      Steven Allen authored
      This way, copying it won't copy the underlying pool.
      
      Also, initialize it immediately instead of in an `init` function to ensure that
      it's fully initialized immediately.
      5ef65a03
  9. 17 Nov, 2017 2 commits
  10. 13 Dec, 2014 1 commit
  11. 06 Dec, 2014 1 commit