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
refactor: split is_dup_lo/is_dup_hi into named predicates
Address review: the shared is_dup_from_half<Hi> helper hid the intent
behind 'v[i] < lo || v[i] >= hi || v[i + half] != v[i]'. Each direction
is now a conjunction of named properties (in-range, only-from-half,
equal-halves), differing by exactly one term.
Adds the negative-index dup_lo case previously covered by the explicit
lower bound.
0 commit comments