From 349bc6fa736edcebd789c5a39885d08f251713a1 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 24 Oct 2026 14:31:04 -0300 Subject: Tables 3/3: what a table costs, an edit's tables shifted by its splice and only its block read again (a fence line in it reads all), a big text read from the top 4 ms a frame (nextWake while busy); Tables.zig's tests registered; an empty delimiter cell's alignment --- src/pardes.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index 7f79f094..79a2e5a5 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -494,6 +494,7 @@ test { _ = @import("Names.zig"); _ = @import("Stream.zig"); _ = @import("Finder.zig"); + _ = @import("Tables.zig"); } pub const Builtin = builtins.registry.Builtin(); @@ -7655,6 +7656,8 @@ pub const Pardes = struct { if (p.chrome_animation.isActive() or p.presentation.animating()) return next; // Places still to find resume on the next frame. for (p.panes) |slot| if (slot) |pane| if (pane.places.busy(pane)) return next; + // A markdown text's tables still being read from the top (Tables.zig). + for (p.panes) |slot| if (slot) |pane| if (pane.file) |f| if (f.tables.busy()) return next; if (panes.Query.busy(p)) return next; // A typed Grep waiting out its pause. const streaming = p.stream.wake(next); -- cgit v1.3