# Store worktree changes in a sorted arc slice, not a HashMap · gitcafe/zed

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

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

Visibility: public

Requested revision: 6628c4df28b61a60502a5e9e80655ad3d6ee3771

Requested commit: 6628c4df28b61a60502a5e9e80655ad3d6ee3771

Commit: 6628c4df28b61a60502a5e9e80655ad3d6ee3771

Tree: 3760b021a31126f6c72dd817bf18397ac87cbe04

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Store worktree changes in a sorted arc slice, not a HashMap

We don't need to look-up change types by an arbitrary key, but we
do need to iterate it. It would also be useful to be able to
cheaply clone the changes, to use them in a background task.

```

## Parents

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

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