(plural shallow copies)
- (computing) A copy of a data structure which shares any linked structures with the original
- If you modify that, you'll modify all the shallow copies of the header that points to it
(third-person singular simple present shallow-copies, present participle shallow-copying, simple past and past participle shallow-copied)
- To make a shallow copy of.
- The bug came from trying to shallow-copy a mutable structure.
shallow copy - Computer Definition
A duplicate reference to a structure such as a variable, file or object. Contrast with "deep copy," which is an actual duplicate of the data. Shallow copy examples are shortcuts, symbolic references and programming pointers, all of which contain the address of and point to the data structure, but do not contain the data themselves.