green-coder / green-coder/diffuse

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

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Clojure
Sterne
51
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.