diff --git a/src/render.cpp b/src/render.cpp index dbbcc1a..850fe26 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -30,8 +30,6 @@ String8 to_pretty_size(Arena *arena, u64 bytes) return push_str8f(arena, "%zu B", bytes); } -// @Speed: instead of calling this function for every displayed byte, prefill an array -// of byte -> color only once and then just index it at `off`. internal u32 mem_edit_bg_color_fn(const u8 *, u64 off, void *user_data) { diff --git a/src/render.h b/src/render.h index 665f676..664e2e6 100644 --- a/src/render.h +++ b/src/render.h @@ -13,9 +13,6 @@ struct Viewer { u64 base_display_addr; u64 latest_page_gone_to; - - // has size equal to app.inspected_file.size - u32 *byte_colors; }; struct Edit_Bg_Color_Data {