This repository (apple/swift-collections) is a pure Swift library providing high-performance, specialized data structures that extend the Swift standard library. It includes stable modules like DequeModule (ring-buffer deque), OrderedCollections (ordered set/dictionary), HeapModule (min-max heap), BitCollections (BitSet/BitArray), and HashTreeCollections (persistent hash-array mapped trie TreeSet/TreeDictionary). It also contains experimental preview modules (e.g., SortedCollections using B-trees, RopeModule for rope-based BigString, and BasicContainers with non-copyable collections). The code is heavily optimized with copy-on-write, unsafe pointer usage, and advanced Swift ownership features. It is designed for production use with source stability guarantees, while preview modules are explicitly unstable. The library is consumed as a Swift package and integrates seamlessly with standard collection protocols.
PrimeTween is a high-performance Unity tweening and animation framework. In production it animates Transform positions/rotations/scales, UI Toolkit elements, materials, AudioSource properties, cameras, custom values, and supports shake effects, delays, cycles, and sequences. Its core design eliminates per-tween garbage allocation: the static Tween API uses struct-based handles and non-allocating OnComplete callbacks, while TweenSettings<T> structs are serializable so animations can be configured in the Unity Inspector. The library also includes an async/coroutine bridge and a DOTween-compatible adapter enabled via compiler define, making it both a drop-in replacement and a migration path from the established DOTween ecosystem. The repository is architecturally a Unity package plus a dedicated benchmark sub-project that uses Unity.PerformanceTesting to compare PrimeTween again DOTween, LeanTween, MagicTween, UnityTweens, and UI Toolkit.
pyfastx is a Python C extension library and command-line tool for efficient parsing and random access of FASTA and FASTQ files. It builds SQLite3-based indexes to enable fast sequence retrieval without excessive memory usage, supporting both plain and gzipped files. The core functionality is implemented in C using kseq.h for parsing and zran.c for gzip indexing, with a Python wrapper providing high-level classes (Fasta, Fastq, Sequence, Read) and key collections for filtering and sorting. The included CLI tool offers subcommands for indexing, statistics, splitting, format conversion, subsequence extraction, and sampling. The project includes comprehensive benchmarks comparing against tools like pysam, pyfaidx, and biopython, and is cited in peer-reviewed literature.