Pike v8.0 release 1738

Method Array.compact_diff3()


Method compact_diff3

array(array(array)) compact_diff3(array a, array b, array old)

Description

Given three arrays like those returned from diff3, this function "compacts" the diff3 result by removing all differences where a and b agrees against old. The result is on the same form as the result from diff, and doesn't include the sequence from old.