Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement blocking strategy for writing to busy DOM nodes #232
Comments
ChrisParis
pushed a commit
to ChrisParis/servo
that referenced
this issue
Sep 7, 2014
Update format-field-retry.htm
|
We currently block, except when we don't. But should. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our current implementation uses copy-on-write, but there is some skepticicsm about how performant this will be. Simply blocking and waiting for layout to finish could be faster than copying nodes. A blocking strategy would also eliminate a pointer indirection on each node. There is work that content can do while waiting (GC).
It should be possible to create a single interface that supports both strategies. For the sake of measurement this seems like a worthwhile thing to do.