while (i < Math.min(previous.length, next.length) && ...