forked from 1b-agent/opencadstudio-upstream
perf: eliminate dense edit stalls
Keep resident wires, draw depths, GPU slabs, and edit history incremental across entity changes. Defer rollover work to avoid cursor jumps on dense drawings.
This commit is contained in:
1 parent
ea93e169ea
commit
da34c6817a
11 files changed
+956
-296
No files matched your search
+4
-1
@@ -67,7 +67,10 @@ pub struct HoverDwell {
|
||||
}
|
||||
|
||||
/// How long the cursor must sit still before the idle rollover pick runs.
|
||||
pub const HOVER_DWELL_MS: u128 = 120;
|
||||
pub const HOVER_DWELL_MS: u128 = 500;
|
||||
/// Dense resident sets also retain the previous rollover while moving; this
|
||||
/// threshold gates that extra redraw-avoidance behavior.
|
||||
pub const HOVER_DWELL_DENSE_WIRES: usize = 50_000;
|
||||
|
||||
/// Open multi-functional-grip popup state.
|
||||
#[derive(Clone, Debug)]
|
||||
|
||||
Reference in new issue
Block a user