Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

use trait to simplify and consolidate cumulative code #17852

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Jun 9, 2021

Problem

there were 2d and 1d versions of cumulative functions.

Summary of Changes

consolidate into a single code path.
Fixes #

@jeffwashington jeffwashington changed the title Cumulative3 use trait to simplify and consolidate cumulative code Jun 9, 2021
@codecov
Copy link

codecov bot commented Jun 9, 2021

Codecov Report

Merging #17852 (67b661a) into master (d7a0fd8) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #17852   +/-   ##
=======================================
  Coverage    82.7%    82.7%           
=======================================
  Files         429      429           
  Lines      120319   120323    +4     
=======================================
+ Hits        99533    99538    +5     
+ Misses      20786    20785    -1     

@jeffwashington jeffwashington marked this pull request as ready for review June 10, 2021 04:47
Copy link
Contributor

@lijunwangs lijunwangs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@jbiseda jbiseda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@jeffwashington jeffwashington merged commit 2dc6969 into solana-labs:master Jun 14, 2021
mergify bot pushed a commit that referenced this pull request Jun 14, 2021
(cherry picked from commit 2dc6969)

# Conflicts:
#	runtime/src/accounts_hash.rs
jeffwashington added a commit that referenced this pull request Jun 14, 2021
    (cherry picked from commit 2dc6969)

    # Conflicts:
    #       runtime/src/accounts_hash.rs
jeffwashington added a commit that referenced this pull request Jun 15, 2021
        (cherry picked from commit 2dc6969)

        # Conflicts:
        #       runtime/src/accounts_hash.rs
mergify bot added a commit that referenced this pull request Jun 15, 2021
(cherry picked from commit 2dc6969)

    # Conflicts:
    #       runtime/src/accounts_hash.rs

Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants