You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Linked List/README.markdown
+1-1
Original file line number
Diff line number
Diff line change
@@ -555,7 +555,7 @@ enum ListNode<T> {
555
555
}
556
556
```
557
557
558
-
The big difference with the class-based version is that any modification you make to this list will result in a *new copy* being created. Whether that's what you want or not depends on the application.
558
+
The big difference with the enum-based version is that any modification you make to this list will result in a *new copy* being created because of [Swift's value semantics](https://developer.apple.com/swift/blog/?id=10). Whether that's what you want or not depends on the application.
559
559
560
560
[I might fill out this section in more detail if there's a demand for it.]
0 commit comments