From bfc6bde5802f4e62e3abe7d8cf8a827e01a76b19 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 27 Oct 2017 16:07:23 -0700 Subject: [PATCH] Added note about equality for table diffs. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a541924..8ccdfda 100644 --- a/README.md +++ b/README.md @@ -62,3 +62,6 @@ returns: {old={4, 5}, old_first=4, old_last=5, new={4, 5}, new_first=3, new_last=4}, {old={}, old_first=6, old_last=5, new={6}, new_first=5, new_last=5}} ``` + +(when diffing tables, it is guaranteed that for matching chunks, .old and .new refer to +the same table, so `chunk.old == chunk.new` will succeed)