1. 09 Feb, 2019 2 commits
  2. 08 Feb, 2019 1 commit
  3. 30 Jan, 2019 1 commit
  4. 23 Jan, 2019 1 commit
  5. 22 Jan, 2019 1 commit
  6. 21 Jan, 2019 1 commit
    • Steven Allen's avatar
      base32: make GetEncoderFromPath more robust · 19d8f624
      Steven Allen authored
      Primarily, get rid of extractCidString and cidVer. Neither of these functions
      did sane things when a path when a path didn't actually include a CID. For
      example, "boo" would yield a base32 encoder.
      
      Also:
      
      * Avoid "optional" errors.
      * Make it a pure function of the input path.
      * Extract the multibase from *any* type of path of the form
        /namespace/cid-like-thing/... This is a DWIM function.
      
      License: MIT
      Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
      19d8f624
  7. 17 Jan, 2019 1 commit
  8. 10 Jan, 2019 1 commit
  9. 09 Jan, 2019 1 commit
  10. 20 Dec, 2018 8 commits
  11. 13 Dec, 2018 1 commit
  12. 07 Dec, 2018 1 commit
  13. 28 Nov, 2018 1 commit
  14. 16 Nov, 2018 1 commit
  15. 03 Nov, 2018 1 commit
  16. 02 Nov, 2018 1 commit
  17. 30 Oct, 2018 2 commits
  18. 29 Oct, 2018 2 commits
  19. 27 Oct, 2018 3 commits
  20. 26 Oct, 2018 2 commits
  21. 24 Oct, 2018 3 commits
  22. 18 Oct, 2018 1 commit
  23. 12 Oct, 2018 1 commit
  24. 10 Oct, 2018 1 commit
    • Steven Allen's avatar
      gx: update go-buffer-pool · 8117a2bc
      Steven Allen authored
      Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
      `[]byte` into `interface{}`. Apparently, we've never done this correctly we just
      never noticed because we never really used buffer pools extensively.
      
      However, since migrating yamux to a buffer-pool backed buffer, this started
      showing up in allocation profiles.
      
      License: MIT
      Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
      8117a2bc
  25. 05 Oct, 2018 1 commit
    • Steven Allen's avatar
      gx: update stuff · 098933ad
      Steven Allen authored
      * go-datastore and friends: GetSize
      * badger: new release, fewer allocations
      * go-mplex: send fewer packets
      * go-bitswap: pack multiple blocks in a single message, fewer allocations
      * go-buffer-pool: replace the buffer pool from go-msgio
      * yamux: fixed data race and uses go-buffer-pool for stream read-buffers to
        reduce memory and allocations.
      * go-libp2p-secio: get rid of a hot-spot allocation
      * go-libp2p-peerstore: reduced allocations (at the cost of some memory)
      
      More?
      
      License: MIT
      Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
      098933ad