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

ensure improvements #110

Merged
merged 3 commits into from
Feb 18, 2017
Merged

ensure improvements #110

merged 3 commits into from
Feb 18, 2017

Conversation

FSMaxB
Copy link
Collaborator

@FSMaxB FSMaxB commented Feb 18, 2017

Small improvements to the ensure function that allocates memory for printing.

This allowed for the removal of a lot of if (p) checks.
We don't need to copy the entire printbuffer, only the part that is
used.
@FSMaxB FSMaxB merged commit 44512f6 into develop Feb 18, 2017
@FSMaxB FSMaxB deleted the ensure-improvements branch February 18, 2017 11:18
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.

1 participant