fallintoplace opened a new pull request, #1215: URL: https://github.com/apache/arrow-go/pull/1215
## Summary - copy binary and string values directly from source buffers - avoid creating temporary `memory.Buffer` wrappers for each input chunk - keep offset rebasing and overflow checks in the direct path - add sliced binary/string coverage and a variable-width benchmark ## Benchmarks Apple M1 Pro, 65,536 values, 8-byte values: | chunks | old allocs | new allocs | old B/op | new B/op | | ---: | ---: | ---: | ---: | ---: | | 1 | 12 | 8 | 803,411 | 803,229 | | 1,024 | 2,059 | 9 | 1,020,824 | 838,035 | | 8,192 | 16,395 | 9 | 2,507,159 | 1,065,358 | ## Tests - `PARQUET_TEST_DATA="$PWD/parquet-testing/data" go test -count=1 ./...` - `go vet ./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]
