Files
oak-gpui/crates
Nathan Sobo 5f8417249c Return impl IntoElement in Render and RenderOnce traits (#3839)
- Returning `IntoElement` because it's more universal than `Element` and
allows us to easily return components.
- Using `impl IntoElement` in `RenderOnce` for consistency, which
requires `Component` to allocate an `AnyElement`. We use a bump
allocated arena anyway for these, and my benchmark doesn't show an
impact.


![frame-time-histogram](https://github.com/zed-industries/zed/assets/1789/d3889cca-9ebc-4d72-aa68-34a5be3bad3c)

In this histogram, frames-0 is this PR, frames-1 is main.

Release Notes:

- N/A
2024-01-03 10:37:26 -07:00
..
WIP
2023-12-05 19:27:15 +01:00
2023-11-17 12:54:16 -08:00
2024-01-02 17:02:53 -05:00
2024-01-02 14:29:21 -08:00
2023-12-05 14:57:20 +01:00
2023-12-11 12:28:22 +02:00
2024-01-02 13:18:56 +01:00
2024-01-01 23:52:07 +01:00
2023-12-25 03:36:54 -05:00
2023-12-28 19:22:43 +01:00
2023-12-13 10:47:32 -05:00
2023-12-13 10:47:32 -05:00
2023-11-30 13:07:47 +02:00
2024-01-02 00:04:51 +01:00
2023-12-28 19:22:43 +01:00
2023-11-29 11:52:26 +02:00
2023-12-12 13:34:46 +02:00
2024-01-02 00:24:11 +01:00
2023-12-11 12:28:22 +02:00
2023-12-11 12:28:22 +02:00
2023-12-11 09:38:23 -07:00
2024-01-01 23:56:04 +01:00
2024-01-02 20:34:18 -05:00
2024-01-02 17:02:53 -05:00
2023-12-12 18:54:35 -07:00
2023-12-22 20:23:55 -05:00
2024-01-02 17:02:53 -05:00
2024-01-02 17:02:53 -05:00
2023-12-13 14:14:03 -07:00