-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* rpc: performance fix for getProgramAccounts (#19941) * rpc: performance fix for getProgramAccounts The accounts were gradually pushed into a vector, which produced significant slowdowns for very large responses. * rpc: rewrite loops using iterators Co-authored-by: Christian Kamm <[email protected]> (cherry picked from commit f1bbf1d) # Conflicts: # core/src/rpc.rs * fix conflicts * Fix conflicts Co-authored-by: Christian Kamm <[email protected]> Co-authored-by: Justin Starry <[email protected]> Co-authored-by: Tyera Eulberg <[email protected]>
- Loading branch information
1 parent
ccef24c
commit da7185e
Showing
1 changed file
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters