Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sstable: remove unnecessary loop while identifying filter block
When opening an sstable and reading the metaindex, we loop over the known filters looking for a block with a matching name. Previously there was an inner loop that statically only ever had one iteration. This inner loop was a vestige from early Pebble's support for 'block-based' bloom filters. There's only ever been a single filter type since #32.
- Loading branch information