Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use pooling for the buffer in SetChars_FromReader #3918

0UserName started this conversation in Ideas
Discussion options

I use a custom implementation of DbDataReader that acts as a bridge between an underlying type/class (table-valued parameter), and I noticed that during string processing, the flow falls into SetChars_FromReader, which creates a char[] each time.

Maybe it makes sense to consider using an array pool instead of direct allocation?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /