lxcid / LXDeltaCalculation

To calculate the differences between 2 collections. A clone of BKDeltaCalculator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LXDeltaCalculation

Build Status Coverage Status

LXDeltaCalculation is a clone of Basket/BKDeltaCalculator. Much of the programming interface was adopted from BKDeltaCalculator but with the following changes:

  • The diff'ing algorithm is different. The main difference is that BKDeltaCalculator will report move changes caused by insertions, while LXDeltaCalculation aim to find those that are have truely moved.
  • The default equality uses isEqual: instead of ==.

Many thanks to BKDeltaCalculator for laying the ground work. Finding a good generalized interface is not easy, much credit to them.

The reason I did not fork but instead clone and rename the project is because I recognize that there are valid use cases for BKDeltaCalculator diff'ing algorithm, while LXDeltaCalculation is aim to be more compatible with UIKit and ASDisplayKit. A seperate project means I could use both project side by side.

About

To calculate the differences between 2 collections. A clone of BKDeltaCalculator.

License:MIT License


Languages

Language:Objective-C 86.0%Language:Ruby 14.0%