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

AcctIdx: items() uses held ranges #21954

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Dec 16, 2021

Problem

items uses held ranges to load make sure items are in memory. Held ranges can return early and skip loading from disk if the range is already being held.

Summary of Changes

Fixes #

@jeffwashington jeffwashington force-pushed the metrics33 branch 4 times, most recently from 5d9ac26 to 9793289 Compare December 16, 2021 22:01
@codecov
Copy link

codecov bot commented Dec 17, 2021

Codecov Report

Merging #21954 (ebb625a) into master (8d22ca5) will increase coverage by 0.0%.
The diff coverage is 85.8%.

@@           Coverage Diff           @@
##           master   #21954   +/-   ##
=======================================
  Coverage    81.2%    81.2%           
=======================================
  Files         516      516           
  Lines      144284   144324   +40     
=======================================
+ Hits       117256   117299   +43     
+ Misses      27028    27025    -3     

@jeffwashington jeffwashington marked this pull request as ready for review December 17, 2021 15:07
Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

lgtm

@jeffwashington jeffwashington merged commit 729698e into solana-labs:master Dec 17, 2021
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.

2 participants