Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a merge algorithm for combining sorted sequences #193

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mdznr
Copy link
Contributor

@mdznr mdznr commented Dec 28, 2022

Description

Adds a simple merge algorithm for combining two sequences that are known to already be sorted by the same criteria

Resolves #192

Detailed Design

Include any additional information about the design here. At minimum, show any new API:

extension Collection {
    /// The new feature implemented by this pull request.
    func newFeature()
}

Documentation Plan

How has the new feature been documented? Have the relevant portions of the guides been updated in addition to symbol-level documentation?

Test Plan

How is the new feature tested?

Source Impact

This change is purely additive.

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The merge algorithm for combining sorted collections is missing.
1 participant