Greatly improved hex editor byte highlighting performance

This commit is contained in:
WerWolv
2021-01-03 02:37:37 +01:00
parent 4189700a3b
commit 206be8b110
3 changed files with 72 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ namespace hex {
imgui_addons::ImGuiFileBrowser m_fileBrowser;
std::vector<lang::PatternData*> &m_patternData;
std::map<u64, u32> m_highlightedBytes;
char m_searchStringBuffer[0xFFFF] = { 0 };
char m_searchHexBuffer[0xFFFF] = { 0 };