Skip to content

[C++ification] Glue and utilities code changes #2611

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
merged 1 commit into from
Jan 15, 2019

Conversation

grendello
Copy link
Contributor

@grendello grendello commented Jan 11, 2019

  • Use new/delete/delete[] more
  • Avoid calling the printf family of functions in favor of new, template, string_concat in the Utils class. When sprintf is used to concatenate just strings we can do better by not calling the C varargs functions and generate very efficient code.
  • Replace C strdup calls with our, based on new, strdup implementation

@grendello grendello added do-not-merge PR should not be merged. full-mono-integration-build For PRs; run a full build (~6-10h for mono bumps), not the faster PR subset (~2h for mono bumps) labels Jan 11, 2019
@grendello grendello requested a review from jonpryor as a code owner January 11, 2019 17:19
@grendello grendello force-pushed the cppify+2 branch 5 times, most recently from 9fbb8eb to d450659 Compare January 14, 2019 11:41
  * Use `new/delete/delete[]` more
  * Avoid calling the `printf` family of functions in favor of new, template,
    `string_concat` in the `Utils` class. When `sprintf` is used to concatenate
    just strings we can do better by not calling the C varargs functions and
    generate very efficient code.
  * Replace C `strdup` calls with our, based on `new`, strdup implementation
@grendello grendello removed the do-not-merge PR should not be merged. label Jan 14, 2019
@jonpryor jonpryor merged commit 42656af into dotnet:master Jan 15, 2019
@grendello grendello deleted the cppify+2 branch January 15, 2019 19:07
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
full-mono-integration-build For PRs; run a full build (~6-10h for mono bumps), not the faster PR subset (~2h for mono bumps)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants