kronic opened a new pull request, #400:
URL: https://github.com/apache/arrow-dotnet/pull/400
StringViewArray: Enable nullable reference types and improve encoding
performance
- Enable #nullable enable and update interfaces to use nullable string
(IReadOnlyList<string?>)
- Change DefaultEncoding to UTF8Encoding(false) to explicitly disable BOM
- In Builder.Append, use GetMaxByteCount and stackalloc (for <=1024 bytes)
or ArrayPool<byte>
to avoid per‑string byte array allocation and reduce GC pressure
- Add using System.Buffers for ArrayPool
- Update Append and AppendRange to accept nullable strings and optional
encoding
- Update GetString to return nullable string and accept optional encoding
- Use primary constructor for StringViewArray and Builder
- Adjust overloads and parameter defaults accordingly
--
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]