Skip to content

Conversation

@stephentoub
Copy link
Member

@stephentoub stephentoub commented Nov 12, 2020

Console.WriteLine ends up calling Write(span) in some cases, which incurs unnecessary additional cost to call through to Write(byte[], ...).

Contributes to #44598

cc: @adamsitnik @eiriktsarpalis @EgorBo

@ghost
Copy link

ghost commented Nov 12, 2020

Tagging subscribers to this area: @eiriktsarpalis, @jeffhandley
See info in area-owners.md if you want to be subscribed.


Issue meta data
Issue content:
Console.WriteLine ends up calling Write(span) in some cases, which incurs unnecessary additional cost to call through to Write(byte[], ...).

cc: @adamsitnik @eiriktsarpalis @EgorBo

</td>
Issue author: stephentoub
Assignees: -
Labels:
`area-System.Console`

</td>
Milestone: -

@stephentoub stephentoub added this to the 6.0.0 milestone Nov 12, 2020
@stephentoub stephentoub added the tenet-performance Performance related issue label Nov 12, 2020
Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @stephentoub

Console.WriteLine ends up calling Write(span) in some cases, which incurs unnecessary additional cost to call through to Write(byte[], ...).
@stephentoub stephentoub merged commit 1393e83 into dotnet:master Nov 12, 2020
@stephentoub stephentoub deleted the consolestreams branch November 12, 2020 20:31
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants