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

disk index handles empty slot list more correctly #30752

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Mar 16, 2023

Problem

Working towards improving disk index performance:
#30711

Summary of Changes

avoid difficulties by returning &[] instead of something more complicated from disk index when an empty slice is required

Fixes #

@jeffwashington jeffwashington marked this pull request as ready for review March 16, 2023 14:59
@codecov
Copy link

codecov bot commented Mar 16, 2023

Codecov Report

Merging #30752 (a820f7b) into master (62fe6ea) will decrease coverage by 0.1%.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           master   #30752     +/-   ##
=========================================
- Coverage    81.6%    81.6%   -0.1%     
=========================================
  Files         723      723             
  Lines      201791   201787      -4     
=========================================
- Hits       164863   164807     -56     
- Misses      36928    36980     +52     

@jeffwashington jeffwashington merged commit d66d1f7 into solana-labs:master Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants