Skip to content

Conversation

@PhilMiller
Copy link
Member

@PhilMiller PhilMiller commented Nov 4, 2025

String processing is cumbersome to implement and potentially expensive during execution. We already accept identifying grids by number rather than name. Let's shift to identifying variables by number, since their names are going to be passed around much more frequently.

@PhilMiller PhilMiller added request-for-comment BMIv3 Prospective elements of a future major version 3 of the BMI specification. labels Nov 4, 2025
@PhilMiller
Copy link
Member Author

Rolf suggests this hurts usability and code readability for simpler use cases

Bert noted concerns around dynamic or parseable variables names. It could be a time savings, but shifts burdens around

Bert noted wrappers on libraries like NetCDF in Matlab to simplify usage while maintaining a low-level efficient API.

@PhilMiller
Copy link
Member Author

Fred: suggests an alternative approach of adding a foo_by_index set of advanced/fast versions, to keep the simple readable/teachable versions in place, while allowing optimization.

@PhilMiller
Copy link
Member Author

Agreement on "can implement a friendly interface on an efficient interface, but can't implement an efficient interface on a cumbersome interface"

@PhilMiller
Copy link
Member Author

Potential to implement desired functions in a "high performance methods" extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BMIv3 Prospective elements of a future major version 3 of the BMI specification. request-for-comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants