collections: Improve ImmutableDict look up by key performance
Previously when looking up data by key in an ImmutableDict, the inner tuple storing keys and values was iterated until finding the requested key. This is not really efficient when the ImmutableDict contains a lot of entries, typically for an origin snapshot containing a lot of branches. So use an inner dictionary to speedup look up by key operations and improve loader performances.
Loading
Please register or sign in to comment