duesee / duesee/imap-codec

feature wish(imap-types): iterator on simplified+cleanup ranges in a SequenceSet

Open
#710 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
52
Forks
25
Avg merge
21h 53m
Merged PRs (30d)
2

Description

Currently, `SequenceSet::iter()` allows iterating on the individual indexes that the `SequenceSet` represents.
I would like to be able to iterate on the ranges represented by the `SequenceSet` before they get expanded into indices, but after they are simplified and cleaned up.
The motivation is to be able to perform efficient range queries when the underlying storage supports it.

If this sounds reasonable I can try to volunteer an implementation.

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.