# editor: Match invisible character ranges directly \(\#62708\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f543a7642d73f498998ac87f87043a803d98aec3

Requested commit: f543a7642d73f498998ac87f87043a803d98aec3

Commit: f543a7642d73f498998ac87f87043a803d98aec3

Tree: fd91afeb012379e0dea75a973eb1f998961c49ae

Author: Finn Evers

Committer: GitHub

## Message

```
editor: Match invisible character ranges directly (#62708)

Local benchmark shows this speeds it up by at least 30% and is
definitely more reasonable to have like this than compared to iterating
over a list for every given char.

Release Notes:

- N/A
```

## Parents

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

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