DescriptionCache hashCode in Uri implementations to improve performance when used as, e.g., Map key.
Most URI strings are short, but this still gives a 10%-20% improvement on doing repeated lookup in a large map of URIs in the VM, ~100% speedup in dart2js.
Addresses feature request #18162
BUG= http://dartbug.com/18162
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/a11ad27723b49939307c69d185d7ad5d783d4f5a
Patch Set 1 #
Messages
Total messages: 7 (4 generated)
|