StackOverflow Questions for Tag: shallow-copy

espc
espc

Reputation: 125

Does Spread Syntax create a shallow copy or a deep copy?

Score: 6

Views: 3405

Answers: 4

Read More
E.Praneeth
E.Praneeth

Reputation: 264

Copying in python

Score: 1

Views: 77

Answers: 2

Read More
Aaron
Aaron

Reputation: 25

I'm confused about how objects in shallow copy and deep copy are referenced

Score: -1

Views: 109

Answers: 3

Read More
Shardul Singh
Shardul Singh

Reputation: 31

Python - How does appending in a list and changing an element in a list differs in case of shallow copy

Score: 2

Views: 712

Answers: 3

Read More
Samrat Saha
Samrat Saha

Reputation: 627

Why Object.assign works with an array?

Score: 3

Views: 13252

Answers: 3

Read More
danmine
danmine

Reputation: 11523

How do strings work when shallow copying something in C#?

Score: 26

Views: 11275

Answers: 5

Read More
Jack Creed
Jack Creed

Reputation: 1

XSLT 3.0 - how do I correctly use apply-templates and copy-of?

Score: 0

Views: 199

Answers: 2

Read More
Robin Khurana
Robin Khurana

Reputation: 109

Default copy constructor in cpp shallow or deep copy?

Score: 6

Views: 4616

Answers: 3

Read More
Cloud
Cloud

Reputation: 3229

Can't understand python shallow copy when working with int and str

Score: 1

Views: 1836

Answers: 3

Read More
Khoa Phạm
Khoa Phạm

Reputation: 13

Testing Value Objects in DDD, "Implementing Domain Driven Design"

Score: 0

Views: 53

Answers: 1

Read More
LED Fantom
LED Fantom

Reputation: 1373

Does the nums array make a deep copy of letters[2:5] = ['C', 'D', 'E']?

Score: 2

Views: 150

Answers: 3

Read More
Kaan Topal
Kaan Topal

Reputation: 21

I am confused in javascript shallow copy

Score: 2

Views: 55

Answers: 2

Read More
xenfoulis
xenfoulis

Reputation: 47

Deep and shallow copy

Score: 0

Views: 61

Answers: 0

Read More
galinette
galinette

Reputation: 9292

Create a shallow copy of a single channel in OpenCV

Score: 0

Views: 73

Answers: 0

Read More
ILYASS LIRMAQUI
ILYASS LIRMAQUI

Reputation: 31

Problems related to shallow copy in C++

Score: 0

Views: 76

Answers: 1

Read More
Gunnar Bernstein
Gunnar Bernstein

Reputation: 6222

Shallow copy equivalent for a vector in Rust

Score: -1

Views: 148

Answers: 1

Read More
Sammybar
Sammybar

Reputation: 75

Using immutability-helper or spread op to make changes to an object, what is better: repeatedly $set, or $merge only once an object with all changes?

Score: 0

Views: 53

Answers: 0

Read More
Ibai Fernández
Ibai Fernández

Reputation: 5

Exploring React Shallow Copy Methods: Spread Operator vs Direct Assignment

Score: 0

Views: 75

Answers: 2

Read More
David Locke
David Locke

Reputation: 18084

What is the difference between a deep copy and a shallow copy?

Score: 753

Views: 872184

Answers: 31

Read More
DCR
DCR

Reputation: 15700

shallow copy problem with values and references

Score: 0

Views: 56

Answers: 0

Read More
PreviousPage 1Next