aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-09-04 20:55:34 +0200
committerMarkus Wick <markus@selfnet.de>2018-09-04 21:04:41 +0200
commit40784ec48b7c0af98d2dc1c2c090efa034715901 (patch)
tree8e32bd63d0d5e0297208959bbb9b6851ab39ba8f /src/core/core.cpp
parent75f54cc668bbd3f734cc210d57e69984ce33207c (diff)
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/core.cpp')
0 files changed, 0 insertions, 0 deletions