Movatterモバイル変換


[0]ホーム

URL:


Thursday,October8,2020

Swift “Algorithms” Package

Nate Cook:

I’m excited to announceSwift Algorithms, a new 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. TheAlgorithms package includes a host of powerful, generic algorithms frequently found in other popular programming languages. We hope this new package will help peopleembrace algorithms, improving the correctness and performance of their code.

[…]

It’s our ambition for the standard library to include a rich, pragmatic set of generic algorithms. We think theAlgorithms package can help realize this goal by serving as a low-friction venue to build out new families of related algorithms—giving us an opportunity to iteratively explore the problem space and learn how different algorithms connect and interact—before graduating them into the standard library.

I love how each one isdocumented and includes links to the source and tests.

Previously:

1 CommentRSS ·Twitter


Kentzo
November 10, 2020 5:16 PM

Does that mean there at last will be "blessed" binary search for collections?

Leave a Comment

  

Black Friday
Blog
Archives
Tag Cloud
Top Posts

Recently Updated
RSS Feed ·Comments
Mastodon ·Twitter
Apple News
Trackback

Support this site viaPatreon.

Try my Mac apps:

DropDMGDropDMGDropDMG
EagleFilerEagleFilerEagleFiler
SpamSieveSpamSieveSpamSieve
ToothFairyToothFairyToothFairy
Copyright © 2000–2025Michael Tsai.

[8]ページ先頭

©2009-2025 Movatter.jp