Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types. Algorithms are powerful tools for thought because they encapsulate difficult-to-read and error-prone raw loops. The Algorithms package includes a host of powerful, generic algorithms frequently found in other popular programming languages. We hope this new package will help people embrace algorithms, improving the correctness and performance of their code. With the Algorithms package’s initial set of sequence and collection operations, you can cycle over a collection’s elements, find combinations and permutations, create a random sample, and more. One inclusion is a pair of chunked methods, each of which break a collection into consecutive subsequences. One version tests adjacent elements to find the breaking point between chunks, you can use it to quickly separate an array into ascending runs.

Features

  • Engage the community earlier in the development process
  • Channel contributions towards active areas of focus
  • Solicit feedback informed by real-world usage
  • Coherently tackle large tracts of missing functionality
  • Partial sorting
  • Combinations / permutations
  • Mutating algorithms
  • Combining collections

Project Samples

Project Activity

See All Activity >

Categories

Algorithms

License

Apache License V2.0

Follow Swift Algorithms

Swift Algorithms Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Swift Algorithms!

Additional Project Details

Operating Systems

Windows

Programming Language

Swift

Related Categories

Swift Algorithms

Registered

2022-02-24