# change HashSet to BTreeSet \(\#9734\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eb3264c0ad1f4e345ae90984015455d5f8583842

Requested commit: eb3264c0ad1f4e345ae90984015455d5f8583842

Commit: eb3264c0ad1f4e345ae90984015455d5f8583842

Tree: c10a31e95b534d7435da3de4d1c992d37ca1d676

Author: Hans

Committer: GitHub

## Message

```
change HashSet to BTreeSet (#9734)

I found that there may be some minor problems here, in editor.edit may
be more dependent on the order of operations, if the same set of
operations, different execution orders may lead to some different
results, so maybe we need to use BTreeSet instead of HashSet, because
HashSet may not be able to ensure that the same set of data order is
consistent, but maybe my worries are too much

Release notes:

- N/A
```

## Parents

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

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