vthemelis opened a new issue, #301: URL: https://github.com/apache/arrow-dotnet/issues/301
### Describe the enhancement requested Looking up a field index by name in `Schema.GetFieldIndex` currently performs a linear scan. This is a common operation for column-oriented access and can become unexpectedly expensive on wider schemas. The default comparer path can be optimized by caching the first index for each field name while preserving current `arrow-dotnet` behavior: - default lookup remains `CurrentCulture` - missing fields still return `-1` - duplicate field names still return the first match - non-default comparers can continue to use the existing linear scan Context: this work was originally proposed in the old monorepo PR at https://github.com/apache/arrow/pull/44633 before the C# implementation moved to `apache/arrow-dotnet`. -- 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]
