Skip to content

Propose a different way to organize the code #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

daxian-dbw
Copy link

Propose a different way to organize the code in GenerateRow. The method is called in ProcessPayload where we don't care about capturing all generated rows, so we should avoid creating a list every time the method is called. The proposed way can minimize list allocation and avoid a potential perf regression.

@SteveL-MSFT SteveL-MSFT merged commit 2dd072a into SteveL-MSFT:format-table-header Dec 19, 2018
@daxian-dbw daxian-dbw deleted the format-table-header branch December 19, 2018 23:43
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.

2 participants