patches: fix O(buffer) cache invalidation caused by font-lock

BUF_CHARS_MODIFF fix — the core performance regression:
ensureTextCache checked BUF_MODIFF which font-lock bumps on every
redisplay. Each cursor movement in a large file triggered full buffer
rebuild. Now uses BUF_CHARS_MODIFF (changes only on char insert/delete).
This commit is contained in:
2026-03-01 04:56:37 +01:00
parent bc71e58123
commit cd16d45584
10 changed files with 97 additions and 18 deletions

View File

@@ -1,7 +1,8 @@
From 8d882bfbad959b55915da0a43897acf2aca3b2ed Mon Sep 17 00:00:00 2001
From 3237374282389cd61bcd99beed187ec75d1b06fc Mon Sep 17 00:00:00 2001
From: Martin Sukany <martin@sukany.cz>
Date: Sat, 28 Feb 2026 12:58:11 +0100
Subject: [PATCH 6/9] ns: integrate accessibility with EmacsView and redisplay
Subject: [PATCH 06/10] ns: integrate accessibility with EmacsView and
redisplay
Wire the accessibility infrastructure into EmacsView and the