awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
deckarep avatar

deckarep/golang-set

0
View on GitHub↗
4,690 stele·286 fork-uri·Go·5 vizualizări

Golang Set

Acest proiect este o bibliotecă de teoria mulțimilor pentru Go care oferă o structură de date pentru stocarea elementelor unice de orice tip comparabil, folosind generice. Servește ca instrument pentru gestionarea colecțiilor unice și efectuarea de operații matematice precum intersecții și diferențe.

Biblioteca oferă colecții sincronizate pentru a preveni data race-urile în timpul operațiunilor concurente de citire și scriere. De asemenea, suportă conversia colecțiilor unice către și dinspre array-uri JSON pentru persistența datelor și transmiterea în rețea.

Implementarea acoperă testarea apartenenței, clonarea colecțiilor și calcularea dimensiunii. Include utilitare pentru verificarea egalității mulțimilor și exportarea colecțiilor unice în liste sortate. Capabilitățile suplimentare includ iterarea bazată pe canale pentru procesarea secvențială a elementelor.

Features

  • Go Generic Collections - Provides a specialized generic set implementation for Go to manage unique collections of any comparable type.
  • Unordered Unique Collection Management - Provides a generic data structure to store unordered groups of comparable elements while automatically preventing duplicates.
  • Map-Based Set Implementations - Uses a Go map with empty structs to ensure uniqueness and constant-time membership lookups.
  • Membership Testing - Includes utilities to verify if a single element or a group of elements exists within the collection.
  • Set Comparison Utilities - Enables verifying if two collections contain the exact same set of elements regardless of order.
  • Mutexes and Locks - Implements mutual exclusion locks to synchronize concurrent read and write operations and prevent data races.
  • Generic Type Constraints - Employs Go generics with comparable constraints to ensure the set handles any valid key type safely.
  • Set Operations - Implements mathematical set operations such as intersections and differences to filter or compare groups.
  • Set Theory Algorithms - Implements mathematical set operations including intersections and differences on collections of unique data.
  • Generic Data Structures - Implements a type-safe, generic set in Go to handle diverse element types without boilerplate code.
  • Thread-Safe Collection Operations - Synchronizes concurrent read and write operations across multiple threads using locks to prevent data races.
  • Concurrent Collections - Provides synchronized collections that prevent data races during concurrent read and write operations.
  • JSON Serializers - Converts unique collections of elements to and from JSON arrays for persistent storage or network transmission.
  • JSON Serialization Libraries - Supports converting unique collections into JSON arrays and restoring them for persistence or transmission.
  • Set to Slice Exports - Converts unique collections into sorted slices to provide a predictable iteration sequence.
  • Set-to-JSON Converters - Supports converting unique collections to and from JSON arrays for data persistence and network transmission.
  • Shared Data Synchronization - Manages shared sets of unique elements across multiple threads using mutexes to prevent memory corruption.
  • Sorted Element Exports - Converts unique collections into sorted lists, ensuring a predictable sequence and handling floating-point edge cases.
  • Interface-Implementation Separation - Separates thread-safe and non-thread-safe behaviors through a shared interface to allow flexible concurrency models.
  • Data Structures - High-performance set implementation with thread-safe options.
  • Data Structures - Set collection implementation.

Istoric stele

Graficul istoricului de stele pentru deckarep/golang-setGraficul istoricului de stele pentru deckarep/golang-set

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face deckarep/golang-set?

Acest proiect este o bibliotecă de teoria mulțimilor pentru Go care oferă o structură de date pentru stocarea elementelor unice de orice tip comparabil, folosind generice. Servește ca instrument pentru gestionarea colecțiilor unice și efectuarea de operații matematice precum intersecții și diferențe.

Care sunt principalele funcționalități ale deckarep/golang-set?

Principalele funcționalități ale deckarep/golang-set sunt: Go Generic Collections, Unordered Unique Collection Management, Map-Based Set Implementations, Membership Testing, Set Comparison Utilities, Mutexes and Locks, Generic Type Constraints, Set Operations.

Care sunt câteva alternative open-source pentru deckarep/golang-set?

Alternativele open-source pentru deckarep/golang-set includ: zyedidia/generic — This project is a comprehensive library of type-safe, high-performance data structures for Go. By leveraging… workiva/go-datastructures — go-datastructures is a collection of thread-safe and lock-free data structures designed for high-performance… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… teivah/100-go-mistakes — 100 Go Mistakes is a reference book and code review companion that catalogues frequent Go programming anti-patterns… loong/go-concurrency-exercises — This project is an educational resource designed to help developers master concurrent execution and synchronization… nalgeon/redka — Redka is a SQL-backed key-value store that implements a Redis-compatible interface. It acts as a relational data…

Alternative open-source pentru Golang Set

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Golang Set.
  • zyedidia/genericAvatar zyedidia

    zyedidia/generic

    1,347Vezi pe GitHub↗

    This project is a comprehensive library of type-safe, high-performance data structures for Go. By leveraging language-level generics, it provides reusable containers and algorithms that eliminate the need for runtime type assertions or interface casting, ensuring efficient and type-safe data management. The library distinguishes itself through its support for persistent data structures and specialized indexing. It utilizes copy-on-write semantics and memory sharing to maintain multiple versions of a collection, allowing for efficient modifications without duplicating entire datasets. Addition

    Godata-structuresgenericsgo
    Vezi pe GitHub↗1,347
  • workiva/go-datastructuresAvatar Workiva

    Workiva/go-datastructures

    7,901Vezi pe GitHub↗

    go-datastructures is a collection of thread-safe and lock-free data structures designed for high-performance concurrent applications in Go. It provides a modular library of specialized algorithmic toolsets, including a lock-free collection library and an immutable data structure library. The project distinguishes itself through a suite of persistent AVL trees and hash array mapped tries that use branch-copying to preserve previous versions. It also implements non-blocking hash maps, queues, and tries that enable linearizable snapshots and concurrent updates without the use of mutual exclusion

    Go
    Vezi pe GitHub↗7,901
  • crazyguitar/pysheeetAvatar crazyguitar

    crazyguitar/pysheeet

    8,150Vezi pe GitHub↗

    pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing

    Python
    Vezi pe GitHub↗8,150
  • loong/go-concurrency-exercisesAvatar loong

    loong/go-concurrency-exercises

    1,949Vezi pe GitHub↗

    This project is an educational resource designed to help developers master concurrent execution and synchronization patterns in Go. It provides a structured collection of hands-on coding exercises and test-driven challenges that focus on the practical implementation of multi-threaded software engineering practices. The repository emphasizes the core mechanisms of Go concurrency, including channel-based communication, mutex locking, and lifecycle coordination. It covers essential patterns such as managing background tasks, implementing graceful service shutdowns, and enforcing rate limits or e

    Go
    Vezi pe GitHub↗1,949
  • Vezi toate cele 30 alternative pentru Golang Set→