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

Speedup add data pt4 #525

Merged
merged 2 commits into from
Jan 28, 2023
Merged

Speedup add data pt4 #525

merged 2 commits into from
Jan 28, 2023

Conversation

JanMarvin
Copy link
Owner

This makes use of the pointer element of Rcpp:Characters. Since they are pointers to memory, we can extract them from the Rcpp::DataFrame and modify them and the modification will be present in the Rcpp::DataFrame as well. Previously we pulled them out, modified them and pushed them back, which was kinda ... not required and actually a lot slower.

@JanMarvin JanMarvin merged commit 3abc6d9 into main Jan 28, 2023
@JanMarvin JanMarvin deleted the speedup_add_data_pt4 branch January 28, 2023 13:51
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.

None yet

1 participant