{"adoption": {"forks": 73, "observed_at": "2026-08-28T04:04:22.218332+00:00", "stars": 1323}, "canonical_url": "https://ross.abutalabs.com/products/attaswift-btree", "card": {"archived": false, "artifact_type": "library", "description": "Fast sorted collections for Swift using in-memory B-trees", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["search-engine"], "health_score": 20, "homepage": null, "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["attaswift/BTree"], "name": "attaswift/BTree", "platform": ["cross-platform"], "pushed_at": "2022-02-23T10:17:30+00:00", "repo": "attaswift/BTree", "stars": 1323, "tags": ["btree", "sorted-collections", "swift-package", "data-structures", "algorithms", "macos", "ios", "swift"], "topics": ["btree", "collection", "orderedcollection", "swift", "search-trees"], "urls": [], "use_cases": ["sorted dictionary in Swift without hashable keys", "fast insertion and removal at arbitrary indices in a list", "sorted set with efficient set operations", "sorted multiset (bag) implementation", "persistent ordered collections with O(log n) operations"], "what_it_is": "A pure Swift library providing efficient in-memory B-tree implementations and sorted collection types like Map, List, SortedSet, and SortedBag. It offers logarithmic-complexity alternatives to Swift's standard Dictionary, Array, and Set with strong worst-case performance guarantees.", "when_to_avoid": ["you only need simple dictionaries or arrays with typical small data sizes", "you need actively maintained dependencies with recent Swift concurrency support", "you require on-disk or database-backed B-trees rather than in-memory structures"], "when_to_choose": ["you need sorted collections with guaranteed logarithmic worst-case performance in Swift", "your keys are comparable but not hashable", "you frequently concatenate, splice, or extract subranges of large lists"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/attaswift-btree", "repo": "attaswift/BTree", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:22.218332+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:47:03.913866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "031ba96066490c6a33892387e9ae3de0cb5f342ebd8851e3118421ba54ce9d20", "fetched_at": "2026-08-28T04:04:22.218332+00:00", "kind": "readme", "missing": false, "url": "https://github.com/attaswift/BTree"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3915, "days_push": 1652, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}