ignore imgui.ini
This commit is contained in:
parent
3dd6dd85a4
commit
17df4fdeef
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ build/
|
|||
rntviewer
|
||||
.gdbhist
|
||||
.gdb_history
|
||||
imgui.ini
|
||||
|
|
|
@ -206,7 +206,8 @@ void viewer_jump_to_cluster(App_State &app, u64 cluster_idx)
|
|||
assert(app.rndata.n_clusters > 0);
|
||||
cluster_idx = (cluster_idx + app.rndata.n_clusters) % app.rndata.n_clusters;
|
||||
|
||||
// @Speed
|
||||
// @Speed: this is slow! Consider an acceleration structure, or maybe we can reuse
|
||||
// Page_Info_Groups + binary search? (depends on whether cluster_idx are sorted)
|
||||
Page_Info_Node *page = app.rndata.pages;
|
||||
for (u64 i = 0; i < app.rndata.n_pages; ++i) {
|
||||
if (page->cluster_id == cluster_idx)
|
||||
|
|
Loading…
Reference in a new issue