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

Convert directly from Int.Bits() to NodeID #1614

Merged
merged 2 commits into from
May 17, 2019
Merged

Conversation

AlCutter
Copy link
Member

Wall-clock equivalent, but allocates half the amount of memory.

Checklist

@codecov
Copy link

codecov bot commented May 17, 2019

Codecov Report

Merging #1614 into master will decrease coverage by 0.06%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1614      +/-   ##
==========================================
- Coverage   67.19%   67.13%   -0.07%     
==========================================
  Files         110      110              
  Lines        8951     8974      +23     
==========================================
+ Hits         6015     6025      +10     
- Misses       2335     2348      +13     
  Partials      601      601
Impacted Files Coverage Δ
storage/types.go 91.08% <83.33%> (-6.12%) ⬇️

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 af0bd75...63b6f60. Read the comment docs.

@codecov
Copy link

codecov bot commented May 17, 2019

Codecov Report

Merging #1614 into master will decrease coverage by 0.06%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1614      +/-   ##
==========================================
- Coverage   67.19%   67.13%   -0.07%     
==========================================
  Files         110      110              
  Lines        8951     8974      +23     
==========================================
+ Hits         6015     6025      +10     
- Misses       2335     2348      +13     
  Partials      601      601
Impacted Files Coverage Δ
storage/types.go 91.08% <76.92%> (-6.12%) ⬇️

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 af0bd75...0dea73d. Read the comment docs.

storage/types.go Outdated Show resolved Hide resolved
storage/types.go Outdated Show resolved Hide resolved
storage/types.go Outdated Show resolved Hide resolved
storage/types.go Outdated Show resolved Hide resolved
@RJPercival RJPercival assigned AlCutter and unassigned RJPercival and Martin2112 May 17, 2019
@AlCutter AlCutter merged commit abff50a into google:master May 17, 2019
@AlCutter AlCutter deleted the bits branch May 17, 2019 16:05
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.

4 participants