InCerryGit opened a new pull request, #330: URL: https://github.com/apache/arrow-dotnet/pull/330
## Summary - Pre-reserve `ArrowBuffer.Builder<T>` capacity when `AppendRange` receives a known-count collection. - Copy only the populated `Length * sizeof(T)` portion when reallocating builder storage. - Add focused coverage for enumerable, read-only collection, and reallocation preservation paths. The reallocation behavior preserves appended/current-length contents. Capacity beyond `Length` remains undefined and is not copied across reallocations. ## Validation - `dotnet test test/Apache.Arrow.Tests/Apache.Arrow.Tests.csproj -c Release --filter "FullyQualifiedName~Apache.Arrow.Tests.ArrowBufferBuilderTests"` - `rtk dotnet build "Apache.Arrow.sln" -c Release` - LSP diagnostics clean on changed files - Code review completed before commit; no blockers found -- 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]
