DiffConfig

constructor(scanLimit: Int, timeout: Long = 0, override: (String, String) -> List<Change>? = null)

Parameters

scanLimit

Controls how many comparisons the algorithm makes before falling back to a crude (less precise) match. Default is effectively unlimited.

timeout

Maximum time in milliseconds to spend diffing (0 = unlimited).

override

Optional custom diff function that replaces the built-in algorithm.