commit | 09144887bf5b608ab276c8418bf6d4bbf6adc4d2 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Thu Jun 15 23:23:15 2023 -0700 |
committer | Yurii Zubrytskyi <zyy@google.com> | Thu Jun 15 23:23:15 2023 -0700 |
tree | 274756380d979f59e9d63a6e33f67ac1afb87e20 | |
parent | 5e80c5afe86a18d2272f4973f430cd689a37ac1a [diff] |
[res] Stop using try_emplace for hash maps 1. Turns out libcxx's try_emplace() on unordered containers is slower than even find + insert pair. Revert the 'optimization' back to get the performance back 2. Fix the cache invalidation in AssetManager to keep the caches coherent. Bug: 282264161 Test: build + UTs + boot Change-Id: I823215beb863c0ffaf703c70bb4358c331da8251