Ross ROSS = Recommend OSS · open-source software intelligence for agents

apple/swift-algorithms

Some data may be outdated — see provenance labels.

Commonly used sequence and collection algorithms for Swift observed · 2026-10-07

github.com/apple/swift-algorithms · Swift · Apache-2.0 (permissive) observed · 2026-10-07

Health v2 · maintenance only

66/100

  • Activity 96
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2212
  • days_rel: 618
  • days_push: 26
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

6340 stars · 485 forks observed · 2026-10-07

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

An Apple-maintained Swift package of sequence and collection algorithms such as chunking, combinations, permutations, and random sampling. It extends the Swift standard library with well-tested, source-stable algorithm APIs.

Use cases

  • chunk a collection into consecutive subsequences
  • generate combinations and permutations of a collection
  • take a random sample from a sequence
  • cycle over collection elements
  • find unique or adjacent-pair operations on sequences
  • group array elements by a key path

When to choose

  • you need common sequence/collection algorithms beyond the Swift standard library
  • you want a source-stable, Apple-maintained package with semver guarantees
  • you want Python-itertools-like functionality in Swift

When to avoid

  • you need heavy data-structure algorithms like trees or graphs
  • you want a general-purpose algorithms textbook library rather than sequence/collection helpers
  • your project cannot adopt newer Swift toolchains required by recent versions

Facets

library · maturity stable

developer-tools developer-tools cross-platform cross-platform swift-package-manager sequences collections combinatorics itertools algorithms swift

1 source

Member repositories

RepositoryRoleHealth v2
apple/swift-algorithmsmain66

For agents

markdown · JSON · MCP: product_card(name="apple/swift-algorithms")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem