You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
so this code cannot find different segment A and B.
i think it need to patch like this
def find_diffs(data_a, data_b):
first_diff = 0
last_diff = 0
for i in range(min(len(data_a), len(data_b))):
if data_a[i] != data_b[i]:
if first_diff == 0:
first_diff = i
last_diff = i