Skip to content

Conversation

peterwald
Copy link
Member

@peterwald peterwald commented Jun 30, 2025

Use arrays in place of IEnumerable for internal processing, since they will be ultimately turned into arrays anyway, we might as well allocate them at the beginning and pass through the call stacks. This also saves multiple iterations over the same IEnumerator.
Add a few tweaks, like matching expressions in the tokenizer and Array.Fill

Microsoft Reviewers: Open in CodeFlow

@peterwald peterwald self-assigned this Jun 30, 2025
@peterwald peterwald requested a review from a team as a code owner June 30, 2025 19:25
@peterwald peterwald added the area-ai-eval Microsoft.Extensions.AI.Evaluation and related label Jun 30, 2025
@peterwald
Copy link
Member Author

Merging this with this PR #6555

@peterwald peterwald closed this Jun 30, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-ai-eval Microsoft.Extensions.AI.Evaluation and related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant