Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
Commonly used data structures for Swift
Translation pending
Developer toolsSwift · PythonGitHub @appleSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Swift Collections is an open-source package of data structure implementations for the Swift programming language.
The package currently provides the following types, organized into thematic modules:
BasicContainers moduleOwnership-aware reimplementations of the standard generic collection types Array, Set, and Dictionary.
struct UniqueArray<Element> is a uniquely held, dynamically resizing array.struct RigidArray<Element> is a fixed-capacity array.DequeModule moduleImplementations of double-ended queue types, implemented by a ring buffer.
struct Deque<Element> is a classic collection, implementing value semantics with the copy-on-write optimization.struct UniqueDeque<Element> is a uniquely held, dynamically resizing, noncopyable deque.struct RigidDeque<Element> is a fixed-capacity deque implementation.OrderedCollections moduleProvides variants of the standard Set and Dictionary types with user-defined ordering.
struct OrderedSet<Element> is a Set that preserves insertion order.struct OrderedDictionary<Key, Value> is a Dictionary that preserves insertion order.BitCollections moduleProvides efficient implementations of bit maps.
struct BitSet is a more efficient implementation of Set<Int>.struct BitArray is a more efficient implementation of Array<Bool>.HeapModule modulestruct Heap<Element>, a min-max heap backed by an array, suitable for use as a priority queue.HashTreeCollections modulePersistent hashed collections implementing Compressed Hash-Array Mapped Prefix Trees (CHAMP). These are like Set and Dictionary, but they support efficient mutations of shared copies of values, without duplicating the unchanged parts.
struct TreeSet<Element> is a persistent hashed set.struct TreeDictionary<Key, Value> is a persistent hashed dictionary.This is the beginning of the README. Read the rest at the original. Read the full README ↗