]> git.mikk.net Git - mtbl-rs/commit
Add "Cursor" abstraction for lending iterator.
authorChris Mikkelson <chris@mikk.net>
Thu, 1 May 2025 22:44:51 +0000 (17:44 -0500)
committerChris Mikkelson <chris@mikk.net>
Thu, 1 May 2025 22:44:51 +0000 (17:44 -0500)
commit480455ef8b6154dc6fdd9e8da73c90f1091a53f2
tree750ba6155da9d430f0b3fcbee407cccf56150122
parente407b43c573b8d644a2139ba7878058e77540b66
Add "Cursor" abstraction for lending iterator.

Uses immutable get() method to return borrowed key, value pair, mostly
to avoid copying keys to provide sorting in merger.
src/cursor/filter.rs [new file with mode: 0644]
src/cursor/filtermap.rs [new file with mode: 0644]
src/cursor/map.rs [new file with mode: 0644]
src/cursor/mod.rs [new file with mode: 0644]
src/lib.rs