green-coder / green-coder/diffuse

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

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Clojure
Stars
51
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.