Skip to content

[R-package] Fix inefficiency in retrieving pointers#6208

Merged
jameslamb merged 2 commits intomicrosoft:masterfrom
david-cortes:fix_pointer_inefficiencies
Nov 25, 2023
Merged

[R-package] Fix inefficiency in retrieving pointers#6208
jameslamb merged 2 commits intomicrosoft:masterfrom
david-cortes:fix_pointer_inefficiencies

Conversation

@david-cortes
Copy link
Contributor

Some functions retrieve data pointers from R objects in a loop. This PR fixes this inefficiency by retrieving them only once before the loop.

Copy link
Collaborator

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Thanks for this!

@jameslamb jameslamb merged commit cd36ffe into microsoft:master Nov 25, 2023
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants