-
Notifications
You must be signed in to change notification settings - Fork 433
Closed
Labels
Description
Reasoning: I am currently writing Erlang bindings to use libtidy as an html decoder. In Erlang, lists are internally represented as linked lists and the C API for them allows only appending to the head of the list without reconstructing it. It's much more efficient to perform the translation to Erlang terms by walking the tree last to first and appending to the children list.
It appears that the Node struct already has a pointer to the last sibling node
Line 302 in 86b52dc
| Node* last; |
Reactions are currently unavailable