Dispatch isolated editor edits promptly and measure browser paints
This commit is contained in:
1 parent
bf42a88dff
commit
473b3beace
6 files changed
+91
-32
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//! Measured native storage and execution resources, not invented TeX arena words.
|
||||
use super::*;
|
||||
use std::{
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
collections::{BTreeMap, BTreeSet, HashSet},
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
@@ -352,7 +352,8 @@ impl AliasVisits {
|
||||
#[derive(Clone, Default)]
|
||||
pub(super) struct Collector {
|
||||
pub usage: ResourceUsage,
|
||||
macros: BTreeSet<usize>,
|
||||
// Alias visits keep traversal order separately from this membership index.
|
||||
macros: HashSet<usize>,
|
||||
token_lists: BTreeSet<(usize, usize)>,
|
||||
shared_lists: Option<BTreeSet<usize>>,
|
||||
aliases: Option<AliasVisits>,
|
||||
|
||||
Reference in new issue
Block a user