Chisle
코딩 에이전트 플러그인, 20개 실시간 작업에서 기본 모델 52% 활용, 간결한 페르소나와 출력 압축 제공
Swift에서 흔히 쓰이는 자료구조 모음
Commonly used data structures for Swift
개발 도구Swift · PythonGitHub @apple직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
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.여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗