Skip to content

Support one-to-one distance pairs - #38

Merged
imliam merged 1 commit into
mainfrom
pairwise
Oct 12, 2026
Merged

imliam merged 1 commit into
mainfrom
pairwise

Conversation

@imliam

@imliam imliam commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Adds a calculation_type argument to distance_matrix() and create_distance_matrix_job(), and exposes calculation_type on DistanceJobResponse. Pairs measure each origin only against the destination at the same position, so N pairs cost N calculations instead of N × N.

@imliam
imliam merged commit b4fa0c9 into main Oct 12, 2026
1 check passed
@imliam
imliam deleted the pairwise branch October 12, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants