Commit 607708b35f30be43da0ca63abc96604c2d188635

Nick Wellnhofer 2025-06-22T19:18:20

valid: Don't store ID values in document's dictionary ID values are unique. There's some potential for them to be reused as references, but storing them in the dictionary can make the dictionary grow in proportion to the document. Users like lxml replace the `ids` hash table to avoid this. It seems like a good idea to stop using the dictionary for ID values.