Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 200c095

Browse files
committed
Update readme
1 parent 26ef5e1 commit 200c095

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
![](Screenshots/Banner.png)
1111

12-
**DeepDiff** tells the difference between 2 collections and the changes as edit steps. It works on any collection of `Equatable` and `Hashable` items.
12+
**DeepDiff** tells the difference between 2 collections and the changes as edit steps. It also supports [Texture](https://github.com/TextureGroup/Texture), see [Texture example](https://github.com/onmyway133/DeepDiff/tree/master/Example/DeepDiffTexture)
1313

14-
- [A better way to update UICollectionView data in Swift with diff framework](https://medium.com/flawless-app-stories/a-better-way-to-update-uicollectionview-data-in-swift-with-diff-framework-924db158db86)
14+
- Read more [A better way to update UICollectionView data in Swift with diff framework](https://medium.com/flawless-app-stories/a-better-way-to-update-uicollectionview-data-in-swift-with-diff-framework-924db158db86)
1515

1616
<div align = "center">
1717
<img src="Screenshots/table.gif" width="" height="400" />
@@ -114,7 +114,7 @@ Based on that, the first version of `DeepDiff` implements Wagner–Fischer, whic
114114
Some optimisations made
115115

116116
- Check empty old or new collection to return early
117-
- Use `Hashable` to quickly check that 2 items are not equal
117+
- Use `diffId` to quickly check that 2 items are not equal
118118
- Follow "We can adapt the algorithm to use less space, O(m) instead of O(mn), since it only requires that the previous row and current row be stored at any one time." to use 2 rows, instead of matrix to reduce memory storage.
119119

120120
The performance greatly depends on the number of items, the changes and the complexity of the `equal` function.

0 commit comments

Comments
 (0)