Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MaskLeft of NodeID return an explicit copy. #1612

Merged
merged 1 commit into from
May 20, 2019

Conversation

Martin2112
Copy link
Contributor

Currently we're copying everything twice as we do n.Copy().MaskLeft() everywhere.

Checklist

Currently we're copying everything twice as do n.Copy().MaskLeft().
@codecov
Copy link

codecov bot commented May 16, 2019

Codecov Report

Merging #1612 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1612      +/-   ##
==========================================
- Coverage   67.21%   67.15%   -0.06%     
==========================================
  Files         110      110              
  Lines        8950     8952       +2     
==========================================
- Hits         6016     6012       -4     
- Misses       2334     2340       +6     
  Partials      600      600
Impacted Files Coverage Δ
merkle/map_verifier.go 94.28% <ø> (ø) ⬆️
storage/types.go 94.91% <100%> (-3.38%) ⬇️

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 a077b04...4587287. Read the comment docs.

@Martin2112 Martin2112 merged commit 1de36a8 into google:master May 20, 2019
@Martin2112 Martin2112 deleted the mask_left_copy branch May 20, 2019 08:29
gdbelvin added a commit that referenced this pull request May 23, 2019
* master: (94 commits)
  Complete TODO (#1632)
  fake_node_reader: Remove unused field (#1631)
  Parallelize VerifyMapLeavesResponse (#1615)
  Remove redundant root hash calculations (#1630)
  sequencer: Consolidate compact.Tree initialization (#1629)
  Remove unused NodeReader method (#1625)
  Fix bazel build (#1627)
  added/updated postgresql implementation of log_storage (#1571)
  Clean up compact.Tree tests (#1622)
  Remove old hash list format from compact.Tree (#1621)
  Mention protoc-gen-doc in README.md
  merkle: Add testonly package with golden hashes (#1620)
  compact: Simplify getting hashes in NewTreeWithState (#1618)
  compact: Implement Tree using Range (#1522)
  Guard verbose logging in merkle path code (#1604)
  Make MaskLeft of NodeID return an explicit copy. (#1612)
  Convert directly from Int.Bits() to NodeID (#1614)
  Couple of changes to make NodeIDs more frugal. (#1613)
  compact.Tree: Change semantic of adding leaves (#1592)
  MapHasher: Do not return error from HashLeaf (#1611)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants