fallintoplace opened a new pull request, #1244: URL: https://github.com/apache/arrow-go/pull/1244
## Summary - **Batch consecutive union values with the same type code.** - Sparse unions compare one child slice per run. - Dense unions batch only when both child offset sequences are contiguous. - Apply the same path to exact and approximate equality. - Add sliced, null, skipped-offset, mismatch, and benchmark coverage. ## Benchmark Local Apple M1 Pro run with 65,536 rows and 64-row type runs: - Sparse `Equal`: **14.8 ms -> 0.95 ms**, **262,150 -> 4,102 allocs/op** - Dense `Equal`: **13.9 ms -> 1.04 ms**, **262,150 -> 4,102 allocs/op** - Alternating type codes stay roughly flat, as expected. ## Tests - `go test ./...` - `go vet ./arrow/array` - `GOOS=linux GOARCH=386 go build ./arrow/array/...` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
