Pike v8.1 release 6

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.