Skip to content
New issue

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

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

Already on GitHub? # 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 force-pushed the ensure-improvements branch from ccb3e0e to 331c18d Compare February 18, 2017 11:08
@FSMaxB FSMaxB merged commit 44512f6 into develop Feb 18, 2017
@FSMaxB FSMaxB deleted the ensure-improvements branch February 18, 2017 11:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant