Navigating the filesystem sidebar is slow when there are many files

Lettera: Version 1.0.0 (4178)
macOS: Version Tahoe 26.5.2 (25F84)
Expected: using arrow keys to navigate up and down the filesystem list in the sidebar should be snappy (<0.3s)
Current: using arrow keys to navigate up and down the filesystem list in the sidebar is slow

In the following example:

  1. ~70 files/folders visible in the sidebar (based on whatever has been expanded/collapsed)
  2. 14609 files from fd . | wc -l – most of them not shown in the sidebar

Note: This is not a CPU or memory constraint. I get it at ~10% CPU usage and ~50% memory usage, on an M5 Pro chip.

Also: Spinning ball of doom with large log files.
Lettera Version 1.0.0 (4266)

Might also be a bug, it’s not intuitive that markdown files include .log files.

Maybe we should set some limits on file size?

Again this is not an issue with CPU or memory. The same file is fine in Zed, and this was run on an M5 Pro chip with 48GB RAM.