|
|
|
|
|
by shadow31
1999 days ago
|
|
> Why not implicitly clone in some cases (since classes like String gets used so frequently) Because they get used so frequently. Why would we want to add expensive clones to frequently used operations? This would be like asking why LINQ methods in C# aren't deferred by default. Yes, there's a few situations where that would be nice but it would make the functions largely useless because of how poor performance would be. |
|