list_diff 1.3.2 copy "list_diff: ^1.3.2" to clipboard
list_diff: ^1.3.2 copied to clipboard

outdated

📃 Calculates a minimal list of operations that convert one list into another if applied in order.

[1.3.2] - 2020-10-07 #

  • Relax dependency on async.

[1.3.1] - 2020-08-27 #

  • Fix assert message.

[1.3.0] - 2020-04-29 #

  • Add diffSync method.

[1.2.1] - 2020-01-01 #

  • Add extension method for more intuitive list.apply(operation) instead of operation.applyTo(list).
  • Revised readme.

[1.2.0] - 2020-01-01 #

  • Add option to provide areEqual and getHashCode functions.

[1.1.3] - 2019-10-14 #

  • Important fix: Fixed error in algorithm that made it crash when the two lists are the same.

[1.1.2] - 2019-10-13 #

  • Important fix: Fixed error in algorithm that produced wrong results that couldn't actually be applied.

[1.1.1] - 2019-10-10 #

  • BREAKING CHANGE: runOnSeparateIsolate renamed to spawnIsolate.
  • By default, the diff function intelligently tries to choose whether or not to spawn an isolate based on the lengths on the lists.
  • Revised readme.

[1.1.0] - 2019-10-09 #

  • BREAKING CHANGE: diff is now asynchronous.
  • Add support for running diff on another isolate by simply setting runOnSeparateIsolate to true.
  • Add isolated.dart example.
  • Better error messages.
  • Revised doc comments.
  • Add readme.

[1.1.0] - 2019-10-09 #

  • BREAKING CHANGE: diff is now asynchronous.
  • Add support for running diff on another isolate by simply setting runOnSeparateIsolate to true.
  • Add isolated.dart example.
  • Better error messages.
  • Revised doc comments.
  • Add readme.

[1.0.1] - 2019-10-09 #

  • Remove unused dependency dart:isolate.

[1.0.0] - 2019-10-09 #

  • Initial release featuring the diff function that takes two lists and returns a list of Operations that turn the first into the second list if applied in order.
11
likes
40
pub points
76%
popularity

Publisher

unverified uploader

📃 Calculates a minimal list of operations that convert one list into another if applied in order.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

async, meta

More

Packages that depend on list_diff