Files
oak-gpui/crates
Matin AnissandMichael Sloan e5c812fbcb gpui: Dynamic element arena (#32079)
Implements a chunking strategy for the element arena that allows it to
grow dynamically based on allocations, it is initialised with a single
chunk of a total size of 1 mebibyte. On allocation of data with a size
greater than the remaining space of the current chunk a new chunk is
created.

This reduces the memory allocation from the static 32 mebibytes, this
especially helps GPUI applications that don't need such a large element
arena and even Zed in most cases. This also prevents the panic when
allocations ever exceed the element arena.

Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <michael@zed.dev>
2025-06-25 13:29:13 -06:00
..
2025-06-18 14:43:23 +00:00
2025-06-22 16:23:17 -04:00
2025-06-22 16:23:17 -04:00
2025-04-02 13:26:34 -07:00
2025-06-05 12:59:22 +00:00
2025-06-22 16:23:17 -04:00
2025-04-02 13:26:34 -07:00
2025-06-22 16:23:17 -04:00
2025-04-02 13:26:34 -07:00
2025-06-17 20:26:27 +00:00
2025-06-25 13:29:13 -06:00
2025-04-02 13:26:34 -07:00
2025-04-23 20:54:09 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-06-23 20:53:55 -03:00