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. |
||
---|---|---|
.. | ||
imgui_memory_editor.h |