# Introduce a new \`fingerprint\` field to \`TextSummary\` · gitcafe/zed

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

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

Visibility: public

Requested revision: c31a233aadad2811cec71d95b01be990e363bc88

Requested commit: c31a233aadad2811cec71d95b01be990e363bc88

Commit: c31a233aadad2811cec71d95b01be990e363bc88

Tree: 7c611164a32fb48ca252c90af0dc7af950a054a7

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Introduce a new `fingerprint` field to `TextSummary`

This is calculated in `Rope` and uses the `bromberg_sl2` homomorphic
hash function to determine the fingerprint of a single chunk and
compose each chunk fingerprint into a single fingerprint for the entire
rope that is equivalent to hashing all the rope's bytes at once.

```

## Parents

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

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