1. 22 Aug, 2021 1 commit
  2. 07 Apr, 2021 1 commit
    • Daniel Martí's avatar
      update go-ipld-prime, use go:generate · 5186aac7
      Daniel Martí authored
      A number of codegen changes have happened recently. Most notably, basic
      types behind a Maybe no longer use pointers, which means far fewer
      allocations in common scenarios.
      
      This results in a nice speed-up for go-merkledag's Roundtrip benchmark:
      
      	name         old time/op    new time/op    delta
      	Roundtrip-8    4.24µs ± 3%    3.78µs ± 0%  -10.87%  (p=0.004 n=6+5)
      
      	name         old alloc/op   new alloc/op   delta
      	Roundtrip-8    6.38kB ± 0%    6.24kB ± 0%   -2.26%  (p=0.002 n=6+6)
      
      	name         old allocs/op  new allocs/op  delta
      	Roundtrip-8       103 ± 0%        61 ± 0%  -40.78%  (p=0.002 n=6+6)
      
      Run gofmt too, as prime's gen does not just yet.
      5186aac7
  3. 15 Mar, 2021 1 commit
    • Eric Myhre's avatar
      Encode and Decode switch to verb names; docs. · b8473079
      Eric Myhre authored
      A similar change to Encode and Decode function names came in
      go-ipld-prime v0.9.0, so this keeps this library in sync.
      
      Improved package docs a bit to talk about the new go-ipld-prime
      LinkSystem, which is a bit clearer to refer to than before.
      
      Target-of-opportunity fix some typos in docs.
      b8473079
  4. 08 Dec, 2020 1 commit