-
Notifications
You must be signed in to change notification settings - Fork 0
1.12
nucularmoo edited this page Mar 6, 2018
·
11 revisions
Explanation of the contents of a topic page @ Week 1 Topic 1
Objective: Copy-on-write pattern in value objects, implicit sharing
Comment: Qt contains about 100 implicit shared class and value types with intensive data should be implemented with this pattern. QSharedData and QSharedDataPointer are the key classes here. The assignments could contain even QExplicitlySharedDataPointer to indicate the case that complexity does not increase much. The idea of simple reference counting should become clear.
- What is Copy-on-write pattern?
- What is Implicitly Shared Custom Type?
- How does Implicitly Shared Custom Type work?
- How does Qt value type memory management work?
- What is QSharedData (reference counting)?
- What is QSharedDataPointer?
- What is the difference between implicit and explicit sharing?
- When to use implicit/explicit sharing?
Copy-on-Write pattern
Implicitly Shared Custom Type
Qt Value Type memory management
QSharedData
QSharedDataPointer
Implicit vs Explicit sharing