DescriptionDebugger: use a Map to cache mirrors.
This makes mirror cache lookup O(1) instead of O(n).
The downside is that the lookup via handle is O(n). This
is fine because handles are only used in the JSON api,
which is not used by Chrome and on death row.
Committed: https://crrev.com/890b1dfca84d9dfecdcfc56517ef541076c6eb1d
Cr-Commit-Position: refs/heads/master@{#30150}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|