Files
oak-gpui/crates
Piotr Osiewicz 218629cdd4 language: Memoize value of has_edits_since for a given buffer version (#13656)
As a drive-by of https://github.com/zed-industries/zed/pull/13654, I've
noticed that the editor felt sluggish after I've undone the changes made
by the replacement. It turns out that we are repeatedly checking whether
there are any edits to estabilish dirty/conflict state of a buffer, even
though this operation is pure; this PR stores away the result of a
computation and refers to it before rerunning it.

Release Notes:

- Improve editor's performance with large undo histories
2024-06-28 20:23:59 +02:00
..
2024-05-29 18:06:45 -07:00
2024-06-23 07:39:01 -04:00
2024-05-29 18:06:45 -07:00
2024-04-30 23:31:59 -06:00
2024-06-12 23:22:52 +03:00
2024-06-12 23:22:52 +03:00
2024-06-18 12:16:54 -07:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-06-18 12:16:54 -07:00
2024-06-26 14:32:16 -06:00
2024-06-25 15:12:45 +02:00
2024-05-23 15:50:59 +02:00
2024-06-21 16:32:32 -07:00
2024-06-21 16:32:32 -07:00
2024-06-21 16:32:32 -07:00
2024-06-18 12:16:54 -07:00
2024-04-15 14:21:52 +02:00
2024-06-27 19:14:13 -04:00
2024-06-27 21:54:34 -06:00