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

[R] Very small performance tweaks #9837

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

david-cortes
Copy link
Contributor

ref #9810

This PR makes some very small performance tweaks to the R interface:

  • Pre-allocating or reserving vectors instead of allocating them dynamically.
  • Avoiding parallelization when not beneficial.
  • Removing unused code for DMatrixCtx.

@trivialfis trivialfis merged commit 9c56916 into dmlc:master Dec 4, 2023
26 checks passed
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