You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use *iB for power-of-2 bytes units consistently #7079
Split off from #7074. I believe @aitap did a related fix recently (not easy to search for it). But we should try and be consistent about: 1024 bytes: kibibyte=KiB, not KB (which is 1000 bytes), and so on.
\item{mb}{ afunctionwhichacceptsa \code{data.table} andreturnsitssizeinbytes.Bydefault, \code{type_size} (sameas \code{TRUE}) providesafastlowerboundbyexcludingthesizeofcharacterstringsinR's global cache (which may be shared) and excluding the size of list column items (which also may be shared). A column \code{"MB"} is included in the output unless \code{FALSE} or \code{NULL}. }
I'm not sure it's worth a breaking change for renaming any of those, but something to consider. We can at least correctly describe whether they actually refer to MB or MiB (IINM it's always actually MiB).
Activity
MichaelChirico commentedon Jul 3, 2025
Two particularly problematic things:
The use of
buffMBas a parameter infwrite():data.table/man/fwrite.Rd
Line 17 in 4773ef9
The use of
mbas a parameter and output column nameMBintables():data.table/man/tables.Rd
Line 12 in 4773ef9
I'm not sure it's worth a breaking change for renaming any of those, but something to consider. We can at least correctly describe whether they actually refer to
MBorMiB(IINM it's always actuallyMiB).