Skip to content

Optimized by replacing endl with '\n'#886

Merged
Cyan4973 merged 1 commit intolz4:devfrom
servusdei2018:dev
Aug 21, 2020
Merged

Optimized by replacing endl with '\n'#886
Cyan4973 merged 1 commit intolz4:devfrom
servusdei2018:dev

Conversation

@servusdei2018
Copy link
Copy Markdown
Contributor

@servusdei2018 servusdei2018 commented Jul 24, 2020

Optimized for best practice. endl was replaced with '\n' to speed it up. std::endl includes the writing of std::flush, which is not necessary in this context, and makes '\n' much faster.

@Cyan4973 Cyan4973 merged commit 34fe7c9 into lz4:dev Aug 21, 2020
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