{"id":16009481,"url":"https://github.com/fwcd/swift-algorithms-on-sequences","last_synced_at":"2026-03-03T09:08:47.654Z","repository":{"id":98826585,"uuid":"500655651","full_name":"fwcd/swift-algorithms-on-sequences","owner":"fwcd","description":"String search algorithms for Swift","archived":false,"fork":false,"pushed_at":"2024-07-02T23:20:50.000Z","size":224,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T16:40:08.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fwcd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-07T02:00:55.000Z","updated_at":"2024-07-02T23:20:53.000Z","dependencies_parsed_at":"2025-08-12T01:31:48.036Z","dependency_job_id":"4a31f2de-f0ba-4d27-83d7-9fa12f6cf11e","html_url":"https://github.com/fwcd/swift-algorithms-on-sequences","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fwcd/swift-algorithms-on-sequences","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-algorithms-on-sequences","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-algorithms-on-sequences/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-algorithms-on-sequences/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-algorithms-on-sequences/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/swift-algorithms-on-sequences/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-algorithms-on-sequences/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30038672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:58:30.252Z","status":"ssl_error","status_checked_at":"2026-03-03T06:58:15.329Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T13:02:29.322Z","updated_at":"2026-03-03T09:08:47.648Z","avatar_url":"https://github.com/fwcd.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithms on Sequences for Swift\n\n[![Build](https://github.com/fwcd/swift-algorithms-on-sequences/actions/workflows/build.yml/badge.svg)](https://github.com/fwcd/swift-algorithms-on-sequences/actions/workflows/build.yml)\n\nAn implementation of various string search algorithms for Swift.\n\n## Overview\n\n- Exact Pattern Matching Problem (EPMP)\n  - [x] Naive algorithm (quadratic time)\n  - [x] Z-Box algorithm (linear time)\n  - [x] Boyer-Moore algorithm\n  - [x] Knuth-Morris-Pratt algorithm\n  - [x] Ukkonen's algorithm\n- Exact Set Matching Problem (ESMP)\n  - [x] Naive algorithm\n  - [ ] Aho-Corasick algorithm\n\n## Getting Started\n\n- To build the package, make sure to have Swift 5.9 or newer installed and run `swift build`.\n- To run the test suite, invoke `swift test`.\n- To run the benchmarks, invoke `Scripts/run-benchmarks` and then `Scripts/plot-benchmarks` to plot them (make sure to have Python 3.9 or newer, `matplotlib`, `numpy` and `scipy` installed)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-algorithms-on-sequences","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fswift-algorithms-on-sequences","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-algorithms-on-sequences/lists"}