green-coder / green-coder/diffuse

Add a way to describe cut / copy / paste in a data structure

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Clojure
星标
51
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

There are 2 distinct types of intended operation:
- **Moving** data from a place to another.
- **Copying** the data from a place to another.

## Moving pieces of data

One use case for representing the moving operation is that the resources associated with a specific part of the data can follow the move and avoid de-allocation / re-allocation.

## Copying pieces of data

The use case is when we want to keep track of the origin of a piece of data. As a new data, it would probably have its own associated resources allocated.

Ideally, the scope of moving / copying should be the whole data structure and not just inside a vector or hashmap.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。