vthemelis opened a new pull request, #300: URL: https://github.com/apache/arrow-dotnet/pull/300
Ports the optimization from the closed `apache/arrow` PR #44633 into the new .NET-specific repository. The original PR was closed on November 18, 2025 with the note that the C# implementation had moved to a new repository. This version keeps the current `arrow-dotnet` behavior intact: - `GetFieldIndex(..., comparer: null)` and the default path now use a cached `CurrentCulture` index lookup for the common case. - Missing fields still return `-1`. - Duplicate field names still return the first match. - Non-default comparers still fall back to the existing linear scan. I also added a regression test to make sure the comparer overload still returns `-1` when there is no match. Local verification: - restore/build succeeded - `dotnet test --filter SchemaBuilderTests` could not fully execute on this machine because the installed runtime is .NET 9 preview only, while the testhost requires .NET 8 -- 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]
