-
Notifications
You must be signed in to change notification settings - Fork 18
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
Consider integrating with objectdiff #8
Comments
Dear Robert, Sorry for my late response: I was on a leave. Best, Edwin 2015-04-18 22:43 GMT+02:00 Robert Krzyzanowski [email protected]:
|
Thanks for the response edwin! The way objectdiff works is it provides a function called iris2 <- iris
iris2$new_column <- 1
patch <- objectdiff(iris, iris2) Then # Proof that the patch is smaller
> object.size(patch)
1896 bytes
> object.size(iris)
7088 bytes
> object.size(iris2)
8384 bytes If you apply several modifications to a data.frame, you can start with only a copy of the initial set and its succession of patches to work your way to the final data.frame. This has two advantages: (1) you know what changed in each step, (2) it occupies much less memory. Going further, objectdiff provides a Do you think this would be an interesting project? I could probably dedicate a weekend to it. |
objectdiff
Wonder if there's anything we can collaborate on?
The text was updated successfully, but these errors were encountered: