Skip to content

Commit

Permalink
fixed the error
Browse files Browse the repository at this point in the history
  • Loading branch information
spiddy1204 committed Dec 27, 2024
1 parent 9e32585 commit 8f469ce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions man/internal.selfref.rd
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
\description{
The `.internal.selfref` attribute is an internal mechanism used by \code{data.table} to optimize memory management and performance. This attribute ensures that \code{data.table} objects can be modified by reference without unnecessary copying, enabling efficient data manipulation.
}
\usage{
\code{.internal.selfref}
}
\details{
The `.internal.selfref` attribute is a pointer that allows \code{data.table} objects to reference their own memory location. This avoids redundant memory allocation when performing in-place modifications such as adding or updating columns, filtering rows, or performing joins.
The `.internal.selfref` attribute is a pointer that allows \code{data.table} objects to reference their own memory location. This avoids redundant memory allocation when performing in-place modifications such as adding or updating columns, filtering rows, or performing joins.

If the `.internal.selfref` attribute is lost or corrupted (e.g., due to operations that inadvertently break reference semantics), \code{data.table} falls back to standard \code{data.frame}-like behavior, which can lead to reduced performance due to copying.

Expand Down

0 comments on commit 8f469ce

Please sign in to comment.