apple / swift-nio-imap

A Swift project that provides an implementation of the IMAP4rev1 protocol, built upon SwiftNIO.
Apache License 2.0
101 stars 14 forks source link

Call through to RangeSet for MessageIdentifierSet’s SetAlgebra conformance where possible #732

Closed danieleggert closed 1 year ago

danieleggert commented 1 year ago

Call through to RangeSet for MessageIdentifierSet’s SetAlgebra conformance where possible

Motivation:

MessageIdentifierSet conforms to SetAlgebra, but some methods were relying on the default protocol implementations instead of using the underlying RangeSet’s implementation. This could lead to poor performance.