celestiaorg / smt

A Go library that implements a Sparse Merkle tree for a key-value map.
https://godoc.org/github.com/celestiaorg/smt
MIT License
138 stars 53 forks source link

Move loop-invariant offset calculation outside loop #35

Closed adlerjohn closed 3 years ago

adlerjohn commented 3 years ago

Fixes #34.

codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@54602cb). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #35   +/-   ##
=========================================
  Coverage          ?   89.09%           
=========================================
  Files             ?        6           
  Lines             ?      376           
  Branches          ?        0           
=========================================
  Hits              ?      335           
  Misses            ?       20           
  Partials          ?       21           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 54602cb...8e96650. Read the comment docs.