# terminal_view: Remove intermediate vec allocation \(\#46600\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/feccf38e3fee12e8390e244999bcbddd921c2383)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: feccf38e3fee12e8390e244999bcbddd921c2383

Requested commit: feccf38e3fee12e8390e244999bcbddd921c2383

Commit: feccf38e3fee12e8390e244999bcbddd921c2383

Tree: 5b24294cacf6e2793ebb7277143c30d9aadbed8d

Author: Finn Evers

Committer: GitHub

## Message

```
terminal_view: Remove intermediate vec allocation (#46600)

`grid_view` takes an iterator of `IndexedCell`s, so we don't have to
collect this into a vec prior to passing this.

Release Notes:

- N/A
```

## Parents

- [578911de0355c0f8947929609ebbdfa025cccdf1](https://git.cafe/gitcafe/zed/commit/578911de0355c0f8947929609ebbdfa025cccdf1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/feccf38e3fee12e8390e244999bcbddd921c2383?format=markdown)
