On 30/10/2021 11:12 a.m., Bill Dunlap wrote:
The byte code attached to each function in a package can be surprisingly
large. E.g., the byte code for the c. 300 line function
Matrix:::replTmat seems to be c. 4.5 times the size of the raw code:
> object.size(Matrix:::replTmat) /
object.size(a
The byte code attached to each function in a package can be surprisingly
large. E.g., the byte code for the c. 300 line function Matrix:::replTmat
seems to be c. 4.5 times the size of the raw code:
> object.size(Matrix:::replTmat) /
object.size(as.function(as.list(Matrix:::replTmat)))
5.5 bytes
On 30/10/2021 3:00 a.m., Mosqueira Sanchez, Iago wrote:
As far as I can see only classes, methods and functions are present
there. I loaded the rdb file and looked at the contents and sizes of
objects.
Am I right in assuming every method or function imported from another
package sits in the data
As far as I can see only classes, methods and functions are present
there. I loaded the rdb file and looked at the contents and sizes of
objects.
Am I right in assuming every method or function imported from another
package sits in the database? In another S4 package I see that the
largest objects