VersionedDOM: Difference between revisions

Line 9: Line 9:


The scope of the code of readers is far smaller than the modifier.  So, it is more easy to change the way of accessing pointers at readers side.  The readers are only the layout engine and the renderer.
The scope of the code of readers is far smaller than the modifier.  So, it is more easy to change the way of accessing pointers at readers side.  The readers are only the layout engine and the renderer.
* const verioned pointer
** For read-only
* read-write versioned pointer
** For modifying the object, as a trigger to clone the object for the current version.


== Copy On Write ==
== Copy On Write ==
Confirmed users
398

edits