rntviewer/third_party/imgui_club
silverweed 47c993dd01 invert order of BgColorFn calls in mem edit to avoid cache misses
BgColorFn(addr) will call find_section(addr) internally. If we call
BgColorFn(addr + 1) and then BgColorFn(addr), the first call may cause
the cached `last_pinfo` / `last_other_root_obj` to change to the next
one in the list, which in turn will cause the second call to "page fault".
Inverting the order doesn't change anything in mem_edit but it better
uses our application cache to speedup section finding.
2025-01-24 11:04:59 +01:00
..
imgui_memory_editor.h invert order of BgColorFn calls in mem edit to avoid cache misses 2025-01-24 11:04:59 +01:00