diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-28 14:48:13 -0800 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-09 00:04:24 -0800 |
commit | f241bb72f5b6b0b213053e000051bf3b7e6b4bb0 (patch) | |
tree | 8e5b02afe942842d4e86b420dfc4474224bbe114 /src/common/file_util.cpp | |
parent | 602f57da387da2bf702aa149124c14861b5d27d8 (diff) |
Pica/Regs: Use binary search to look up reg names
This gets rid of the static unordered_map. Also changes the return type
const char*, avoiding unnecessary allocations (the result was only used
by calling .c_str() on it.)
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions