awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

7 个仓库

Awesome GitHub RepositoriesDeep Class Instance Cloning

Creates independent deep copies of class instances, preserving all nested structures and values.

Distinct from Zero-Copy Cloning: Distinct from Zero-Copy Cloning: focuses on creating full independent copies of class instances in memory, not database-level copy-on-write snapshots.

Explore 7 awesome GitHub repositories matching data & databases · Deep Class Instance Cloning. Refine with filters or upvote what's useful.

Awesome Deep Class Instance Cloning GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • typestack/class-transformertypestack 的头像

    typestack/class-transformer

    7,334在 GitHub 上查看↗

    class-transformer is a TypeScript library that converts plain JavaScript objects into typed class instances and back, using decorators to define transformation rules. It serves as a decorator-based object transformer, JSON deserialization library, and property transformation framework, enabling type-safe serialization and deserialization of class instances. The library distinguishes itself through comprehensive property filtering and mapping capabilities. It supports excluding properties by default, by prefix, by operation (serialization or deserialization), or by explicit marking, as well as

    Provides deep cloning of class instances to create independent copies with preserved nested structures.

    TypeScriptexposing-gettersexposing-propertiestransformation
    在 GitHub 上查看↗7,334
  • mobxjs/mobx-state-treemobxjs 的头像

    mobxjs/mobx-state-tree

    7,050在 GitHub 上查看↗

    MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera

    Creates deep independent copies of state tree nodes as new standalone trees.

    TypeScripthacktoberfestmobxmobx-state-tree
    在 GitHub 上查看↗7,050
  • esotericsoftware/kryoEsotericSoftware 的头像

    EsotericSoftware/kryo

    6,529在 GitHub 上查看↗

    Kryo is a Java binary serialization framework and object cloning library used to convert Java objects into a compact binary format and restore them from bytes. It provides a system for creating deep or shallow copies of complex object graphs without requiring binary conversion. The project utilizes variable-length integer encoding and integer-ID class registration to reduce the size of serialized data. It handles complex object graphs through circular reference tracking to prevent data duplication and infinite loops. To maintain long-term data viability, it includes schema evolution managemen

    Creates full independent copies of complex Java object graphs to avoid modifying original instances.

    HTML
    在 GitHub 上查看↗6,529
  • amitshekhariitbhu/from-java-to-kotlinamitshekhariitbhu 的头像

    amitshekhariitbhu/from-java-to-kotlin

    6,324在 GitHub 上查看↗

    From Java To Kotlin - Your Cheat Sheet For Java To Kotlin

    Demonstrates Kotlin's data class copy() function for cloning with property overrides.

    Javaandroidcheet-sheetjava
    在 GitHub 上查看↗6,324
  • python-attrs/attrspython-attrs 的头像

    python-attrs/attrs

    5,799在 GitHub 上查看↗

    attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it

    Creates a modified copy of an existing instance by specifying which attribute values to change.

    Python
    在 GitHub 上查看↗5,799
  • effector/effectoreffector 的头像

    effector/effector

    4,837在 GitHub 上查看↗

    Effector is a reactive state management library designed for building complex, event-driven applications. It functions as a data flow engine that models application logic as a directed acyclic graph, ensuring that state updates propagate automatically through interconnected nodes. By utilizing atomic state updates and declarative unit composition, the library maintains data consistency and provides a predictable execution model for managing application state. The project distinguishes itself through its framework-agnostic architecture, which decouples business logic from user interface implem

    Generates local instances of shared asynchronous operations to allow component-specific event subscriptions.

    TypeScriptbusiness-logiceffectorevent-driven
    在 GitHub 上查看↗4,837
  • riok/mapperlyriok 的头像

    riok/mapperly

    4,100在 GitHub 上查看↗

    Mapperly 是一个 C# 源生成器,用于 .NET 中的高性能对象到对象映射。它作为一个编译时映射库,在构建过程中生成必要的转换代码,消除了在领域模型和数据传输对象(DTO)之间转换时对运行时反射的需求。 该工具的特色在于提供类型安全的诊断验证和严格的映射强制执行,在编译时为未映射的属性发出警告。它包含用于处理循环引用和深拷贝的专门能力,以保持对象标识并在复杂转换期间防止无限循环。 该项目涵盖了广泛的转换任务,包括嵌套对象层级的扁平化、各种集合类型和 Span 的转换,以及字符串与原始类型之间的全面枚举映射。它还通过查询投影支持数据库集成,将映射定义转换为表达式树,以优化从可查询源中检索字段。 配置选项允许自定义对象工厂、成员级排除以及用户定义映射逻辑的集成。生成的源代码可导出到可配置目录,以便进行人工检查和版本控制。

    Creates full independent copies of nested objects and collections to isolate data.

    C#
    在 GitHub 上查看↗4,100
  1. Home
  2. Data & Databases
  3. Zero-Copy Cloning
  4. Deep Class Instance Cloning

探索子标签

  • Data Class Copy Functions1 个子标签Language-level copy functions on data classes that clone objects while overriding selected properties. **Distinct from Deep Class Instance Cloning:** Distinct from Deep Class Instance Cloning: focuses on Kotlin's built-in copy() method for data classes, not general deep cloning of arbitrary instances.