Skip to content

Conversation

@tp
Copy link

@tp tp commented Dec 10, 2025

The best part of this, as mentioned, seems to me the index computation, though I feel there must be still a more succinct and elegant way.

Since I did not end up using the item-level iterator in the end, the precondition checking could easily be simplified to just return true/false per item instead of the elements and then filtering and counting.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant