You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ordered::OrderedDocument is a temporary solution while the linked-hash-map crate can only be compiled with nightly. But now, linked-hash-map can be compiled with the latest stable rustc v1.7 (contain-rs/linked-hash-map#28).
So I suggest that we could migrate it to linked-hash-map.
The text was updated successfully, but these errors were encountered:
Currently the OrderedDocument is implemented as Vec + BTreeMap pair to maintain insertion order. Which means that we need to do a O(n) search on the Vec and store the String key twice.
Using LinkedHashMap will help to increase performance.
The
ordered::OrderedDocument
is a temporary solution while thelinked-hash-map
crate can only be compiled with nightly. But now, linked-hash-map can be compiled with the latest stable rustc v1.7 (contain-rs/linked-hash-map#28).So I suggest that we could migrate it to
linked-hash-map
.The text was updated successfully, but these errors were encountered: