mirror of https://git.suyu.dev/suyu/suyu
gl_shader_disk_cache: Remove redundant code string construction in LoadDecompiledEntry()
We don't need to load the code into a vector and then construct a string over the data. We can just create a string with the necessary size ahead of time, and read the data directly into it, getting rid of an unnecessary heap allocation.merge-requests/60/head
parent
5e4c227608
commit
683c4e523f
Loading…
Reference in New Issue