Reuse closed events and line breaking after a checkpoint

This commit is contained in:
gloamxun committed 2026-11-19 16:39:08 +08:00
1 parent fc6786d9f4
commit 393fba42d8
7 files changed
+140 -16

No files matched your search

+2
View File
@@ -348,6 +348,7 @@ impl SelectedCheckpoint {
job: RevisionJob,
source: SourceFile,
files: &mut Files,
line_break_cache: Arc<texrra_tex_core::execution::LineBreakCache>,
work: &mut EntryCheckpointWork,
) -> Result<
(
@@ -388,6 +389,7 @@ impl SelectedCheckpoint {
&checkpoint.entry,
source,
&mut recording,
line_break_cache,
|offset, pages| {
if offset > frontier {
schedule.select(offset, pages)