# gpui: Inline some hot recursive scope functions \(\#42069\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 001a47c8b7ffb9ad0e76d2aae43fc254dba4664f

Requested commit: 001a47c8b7ffb9ad0e76d2aae43fc254dba4664f

Commit: 001a47c8b7ffb9ad0e76d2aae43fc254dba4664f

Tree: ac516297ae32c19cc7da69e918cfda9728eaf11b

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: Inline some hot recursive scope functions (#42069)

This reduces stack usage in prepainting slightly as we stack less
references to window/app.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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