Skip to content

agent_ui: Remove unnecessary Arc allocation#45172

Merged
Veykril merged 1 commit intozed-industries:mainfrom
aqrln:aqrln-klrsnlzkvtmk
Dec 18, 2025
Merged

agent_ui: Remove unnecessary Arc allocation#45172
Veykril merged 1 commit intozed-industries:mainfrom
aqrln:aqrln-klrsnlzkvtmk

Conversation

@aqrln
Copy link
Contributor

@aqrln aqrln commented Dec 17, 2025

Follow up to #44297.

Initial implementation in ce88444 used Arc to store the reference to the hash map inside the iterator while keeping the lifetime static. The code was later simplified in 5151b22 to build the list eagerly but the Arc was forgotten, although it became unnecessary.

cc @bennetbo

Release Notes:

  • N/A

Follow up to zed-industries#44297.

Initial implementation in ce88444 used
`Arc` to store the reference to the hash map inside the iterator while
keeping the lifetime static. The code was later simplified in
5151b22 to build the list eagerly but
the Arc was forgotten, although it is not needed anymore.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 17, 2025
@Veykril Veykril self-assigned this Dec 18, 2025
@github-project-automation github-project-automation bot moved this to Community Champion PRs in Quality Week – December 2025 Dec 18, 2025
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Veykril Veykril merged commit df48294 into zed-industries:main Dec 18, 2025
24 checks passed
@github-project-automation github-project-automation bot moved this from Community Champion PRs to Done in Quality Week – December 2025 Dec 18, 2025
@aqrln aqrln deleted the aqrln-klrsnlzkvtmk branch December 18, 2025 11:08
rtfeldman pushed a commit that referenced this pull request Jan 5, 2026
Follow up to #44297.

Initial implementation in ce88444 used
`Arc` to store the reference to the hash map inside the iterator while
keeping the lifetime static. The code was later simplified in
5151b22 to build the list eagerly but
the Arc was forgotten, although it became unnecessary.

cc @bennetbo

Release Notes:

- N/A
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
Follow up to zed-industries#44297.

Initial implementation in ce88444 used
`Arc` to store the reference to the hash map inside the iterator while
keeping the lifetime static. The code was later simplified in
5151b22 to build the list eagerly but
the Arc was forgotten, although it became unnecessary.

cc @bennetbo

Release Notes:

- N/A
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
Follow up to zed-industries#44297.

Initial implementation in ce88444 used
`Arc` to store the reference to the hash map inside the iterator while
keeping the lifetime static. The code was later simplified in
5151b22 to build the list eagerly but
the Arc was forgotten, although it became unnecessary.

cc @bennetbo

Release Notes:

- N/A
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Feb 15, 2026
Follow up to zed-industries#44297.

Initial implementation in ce88444 used
`Arc` to store the reference to the hash map inside the iterator while
keeping the lifetime static. The code was later simplified in
5151b22 to build the list eagerly but
the Arc was forgotten, although it became unnecessary.

cc @bennetbo

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

Development

Successfully merging this pull request may close these issues.

2 participants