updateItems algorithm bugs
See original GitHub issueI tried to use this algorithm but I found some bugs. It seems that algorithm sometimes detect created
as changed
. We can try to port Android DiffUtils tests to catch this.
Also I think it would be better to use The Myers Diff Algorithm. This algorithm used in Android DiffUtil (DiffUtil.java)
There are some links about this algo: https://blog.jcoglan.com/2017/02/12/the-myers-diff-algorithm-part-1/ http://www.xmailserver.org/diff2.pdf
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (6 by maintainers)
Top Results From Across the Web
updateItems algorithm bugs · Issue #772 · fabulous-dev/Fabulous
I tried to use this algorithm but I found some bugs. It seems that algorithm sometimes detect created as changed. We can try...
Read more >Bug - Problem with scaled objects in Unity AR Foundation
here lies the problem: Once the updateObjects function is called, all the blocks appears to be scaled by a certain amount (but i'd...
Read more >javafx Tableview cell index/editing bug with duplicated ...
One last side note, I update the TableCells' graphics in the Cell#updateItem() method. (and for the editing part in the Cell#startEdit() and ...
Read more >7-Zip / Discussion / Help: Repacking archive
I use next algorithm for this purpose: - creates a temporary file; - update items, i.e. pOutArchive->UpdateItems(spStream, updataItems.
Read more >Listings drop when I update items with listing enhancements
I recently took some listing enhancement and noticed, the items dropped to the bottom when sorting on relevance. Has someone else experienced this?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Moving this discussion to vNext as 0.55 integrates a custom diff algorithm for now.
Found Myers implementation on f# . https://github.com/nikolamilekic/FsMyers