l0ng-ai
815bebf4ec
fix(editor): keep in-file Find responsive in large files ( #4698 )
...
CodeMirror compares a plain-text query one character at a time; a pass over a 50 MB log took ~850 ms and each find-bar keystroke runs several, freezing the editor for seconds. Plain-text queries now run as an escaped regular expression (~35 ms per pass) with a literal replacement. Find Previous no longer uses CodeMirror's quadratic backward regex search; one forward pass finds the previous match.
2026-11-20 13:19:51 +08:00
..
2026-11-20 13:19:51 +08:00
2026-11-20 09:13:29 +08:00
2026-11-20 05:41:29 +08:00
2026-11-20 11:33:27 +08:00
2026-11-19 01:16:22 +08:00
2026-11-20 01:28:48 +08:00
2026-11-18 19:05:43 +08:00
2026-11-08 06:13:21 +08:00
2026-11-08 06:13:21 +08:00
2026-11-17 02:36:56 +08:00
2026-11-17 02:36:56 +08:00
2026-11-17 12:39:50 +08:00
2026-11-20 06:00:56 +08:00
2026-11-20 05:41:29 +08:00
2026-11-17 21:39:11 +08:00
2026-11-10 03:25:21 +08:00
2026-11-14 18:33:59 +08:00
2026-11-19 08:36:35 +08:00
2026-10-31 20:12:00 +08:00
2026-10-31 20:12:00 +08:00
2026-11-10 03:25:21 +08:00
2026-11-19 08:36:35 +08:00
2026-11-19 08:36:35 +08:00
2026-11-04 12:40:45 +08:00
2026-11-04 12:40:45 +08:00
2026-10-22 18:55:10 +08:00
2026-11-08 06:13:21 +08:00
2026-11-13 12:52:26 +08:00
2026-11-15 02:15:18 +08:00
2026-11-15 17:15:50 +08:00
2026-11-15 17:15:50 +08:00
2026-11-17 21:15:20 +08:00
2026-11-12 19:05:25 +08:00
2026-11-16 23:59:35 +08:00
2026-11-16 06:46:13 +08:00
2026-11-10 05:15:04 +08:00
2026-11-13 20:01:02 +08:00
2026-11-09 17:42:23 +08:00
2026-11-19 08:36:35 +08:00
2026-11-16 17:45:28 +08:00
2026-11-10 01:53:14 +08:00
2026-11-20 01:28:48 +08:00
2026-11-12 00:41:22 +08:00
2026-10-22 18:55:10 +08:00