-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql/row: reduce allocations initializing txnKVFetcher and txnKVStreamer
The `kvBatchFetcherHelper` no longer implements the `NextBatch` method for the `txnKVFetcher` and `txnKVStreamer`. The latter two implement this method themselves, eliminating an allocation of the `nextBatch` closure. The `kvBatchFetcherHelper` has been renamed to `kvBatchMetrics` now that its only concern is recording and providing metrics. Release note: None
- Loading branch information
Showing
2 changed files
with
36 additions
and
26 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
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