apple / apple/foundationdb

Create pool of reusable PTree iterators

Open
#5,988 0 comments 0 reactions 1 assignee Claimed by @sfc-gh-ngoyal View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Each lookup into the PTree stores pointers to nodes in the tree in a `std::vector` for backtracking when iterating through the tree. The `std::vector`s could be re-used between lookups to save on the number of allocations done for each lookup.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.