diff options
| author | 2018-09-04 20:55:34 +0200 | |
|---|---|---|
| committer | 2018-09-04 21:04:41 +0200 | |
| commit | 99a71580c4356c51bcb5f18b10be55f1e62a65e5 (patch) | |
| tree | 8e32bd63d0d5e0297208959bbb9b6851ab39ba8f /src/core/telemetry_session.cpp | |
| parent | Merge pull request #1238 from lioncash/explicit (diff) | |
| download | yuzu-99a71580c4356c51bcb5f18b10be55f1e62a65e5.tar.gz yuzu-99a71580c4356c51bcb5f18b10be55f1e62a65e5.tar.xz yuzu-99a71580c4356c51bcb5f18b10be55f1e62a65e5.zip | |
gl_shader_cache: Use an u32 for the binding point cache.
The std::string generation with its malloc and free requirement
was a noticeable overhead. Also switch to an ordered_map to
avoid the std::hash call. As those maps usually have a size of
two elements, the lookup time shall not matter.
Diffstat (limited to 'src/core/telemetry_session.cpp')
0 files changed, 0 insertions, 0 deletions