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

Outdated document for truelength #1536

Closed
rajkrpan opened this issue Feb 12, 2016 · 0 comments
Closed

Outdated document for truelength #1536

rajkrpan opened this issue Feb 12, 2016 · 0 comments
Assignees
Milestone

Comments

@rajkrpan
Copy link

To quote help("truelength"):
For tables loaded from disk however, truelength is 0 in R 2.14.0 and random in R <= 2.13.2; i.e., in both cases perhaps unexpected. data.table detects this state and over-allocates the loaded data.table when the next column addition or deletion occurs. All other operations on data.table (such as fast grouping and joins) do not need truelength.
It seems that the documentation is out of date since the copy doesn't happen during deletion of a column. Check http://stackoverflow.com/questions/35362336/why-does-data-table-get-copied-when-adding-a-new-column/35362681#35362618 for further info.

@rajkrpan rajkrpan changed the title Outdatetd document for truelength Outdated document for truelength Feb 12, 2016
@arunsrinivasan arunsrinivasan added this to the v1.9.8 milestone Feb 17, 2016
@arunsrinivasan arunsrinivasan self-assigned this Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants