Skip to content

Comments

break: clean up compare#6591

Merged
joseph-isaacs merged 23 commits intodevelopfrom
ji/compute-cleanup-compare
Feb 20, 2026
Merged

break: clean up compare#6591
joseph-isaacs merged 23 commits intodevelopfrom
ji/compute-cleanup-compare

Conversation

@joseph-isaacs
Copy link
Contributor

@joseph-isaacs joseph-isaacs commented Feb 18, 2026

Part of the lazy compute migration. We add a ArrayBuiltIn a.binary(b, Op) method to create a lazily evaluated array tree.

We remove RSub and RDiv since we don't need to swap args any more. Since we have execute_parent.

Note to review: Start looking at vortex-array/{compute,exprs}.

compute method have move to exprs
use a.binary(b, Op) from ArrayBuiltIn over compare and other compute methods

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 18, 2026

Merging this PR will not alter performance

✅ 986 untouched benchmarks
⏩ 1426 skipped benchmarks1


Comparing ji/compute-cleanup-compare (ee16083) with develop (860a68e)

Open in CodSpeed

Footnotes

  1. 1426 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Base automatically changed from ji/compute-cleanup to develop February 19, 2026 11:39
p
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@joseph-isaacs joseph-isaacs force-pushed the ji/compute-cleanup-compare branch from e0103ab to 9c4d630 Compare February 19, 2026 13:24
…-compare

# Conflicts:
#	encodings/datetime-parts/src/compute/compare.rs
#	encodings/fastlanes/benches/compute_between.rs
#	vortex-array/src/compute/conformance/consistency.rs
#	vortex-array/src/expr/exprs/between/mod.rs
#	vortex-array/src/expr/exprs/binary/mod.rs
#	vortex-array/src/expr/exprs/operators.rs
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
…-compare

# Conflicts:
#	encodings/alp/src/alp/compute/compare.rs
#	encodings/bytebool/src/compute.rs
#	encodings/datetime-parts/src/compute/compare.rs
#	encodings/decimal-byte-parts/src/decimal_byte_parts/compute/compare.rs
#	encodings/fastlanes/benches/compute_between.rs
#	encodings/fastlanes/src/for/compute/compare.rs
#	encodings/fsst/benches/fsst_compress.rs
#	encodings/fsst/src/compute/compare.rs
#	encodings/sequence/src/compute/compare.rs
#	encodings/sparse/src/lib.rs
#	fuzz/fuzz_targets/file_io.rs
#	fuzz/src/array/compare.rs
#	fuzz/src/array/mod.rs
#	vortex-array/src/arrays/dict/compute/mod.rs
#	vortex-array/src/arrays/varbin/compute/compare.rs
#	vortex-array/src/compute/conformance/consistency.rs
#	vortex-array/src/expr/exprs/binary/mod.rs
#	vortex-array/src/expr/exprs/dynamic.rs
#	vortex-array/src/expr/exprs/list_contains/mod.rs
#	vortex-python/src/arrays/mod.rs
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@joseph-isaacs joseph-isaacs changed the title wip: clean up compare break: clean up compare Feb 20, 2026
@joseph-isaacs joseph-isaacs added the changelog/break A breaking API change label Feb 20, 2026
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@joseph-isaacs joseph-isaacs marked this pull request as ready for review February 20, 2026 16:02
Copy link
Contributor

@robert3005 robert3005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have a comment in between that you want to return lazy compare and now you can

Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@joseph-isaacs joseph-isaacs merged commit 80a5175 into develop Feb 20, 2026
51 checks passed
@joseph-isaacs joseph-isaacs deleted the ji/compute-cleanup-compare branch February 20, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/break A breaking API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants