Skip to content
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

perf: Add guards around debug log statements #469

Closed
wants to merge 1 commit into from

Conversation

@marschall
Copy link
Contributor

@marschall marschall commented Dec 27, 2015

Some debug log statements that construct messages using string
concatenation are not surrounded by guard statements. This results in
unnecessary allocation when debug logging is not enabled.

Add guards around debug log statements where necessary.

Some debug log statements that construct messages using string
concatenation are not surrounded by guard statements. This results in
unnecessary allocation when debug logging is not enabled.

Add guards around debug log statements where necessary.
@vlsi vlsi closed this in d77aa41 Dec 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant