-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapse prev_sybling
and last_child
into prev_cyclic_sybling
#12
Comments
Cool, thank you for the input. I will take this into consideration. |
See <http://www.aosabook.org/en/posa/parsing-xml-at-the-speed-of-light.html>. Note that, by this implementation, node insersions and removals are not O(1) for top-level nodes. Fixes saschagrunert#12.
See <http://www.aosabook.org/en/posa/parsing-xml-at-the-speed-of-light.html>. Note that, by this implementation, node insersions and removals are not O(1) for top-level nodes. Fixes saschagrunert#12.
See <http://www.aosabook.org/en/posa/parsing-xml-at-the-speed-of-light.html>. Note that, by this implementation, node insersions and removals are not O(1) for top-level nodes. Fixes saschagrunert#12.
See <http://www.aosabook.org/en/posa/parsing-xml-at-the-speed-of-light.html>. Note that, by this implementation, node insersions and removals are not O(1) for top-level nodes. Fixes saschagrunert#12.
See <http://www.aosabook.org/en/posa/parsing-xml-at-the-speed-of-light.html>. Note that, by this implementation, node insersions and removals are not O(1) for top-level nodes. Fixes saschagrunert#12.
As I wrote in #38 (comment), I don't like this trick, because it makes things complex for both internal implementation and library users. To reduce memory consumption, I like another method to make node ID a type parameter, as |
See "Data structures for the document object model" http://www.aosabook.org/en/posa/parsing-xml-at-the-speed-of-light.html section for a neat trick to save one pointer per node while maintaining O(1) operations.
The text was updated successfully, but these errors were encountered: