Reuse verified default font maps and streamline capacity scans
This commit is contained in:
1 parent
7707cd9b09
commit
d9143ddbd1
5 files changed
+137
-38
No files matched your search
@@ -162,6 +162,10 @@ impl Collector {
|
||||
}
|
||||
}
|
||||
|
||||
pub(super) fn material_only(&self) -> bool {
|
||||
self.shared_lists.is_some()
|
||||
}
|
||||
|
||||
pub fn macro_body(&mut self, m: &Arc<Macro>) {
|
||||
if self.macros.insert(Arc::as_ptr(m) as usize) {
|
||||
self.usage.unique_macro_bodies += 1;
|
||||
|
||||
Reference in new issue
Block a user