[Rd] Speeding up library loading
Duncan Murdoch
murdoch at stats.uwo.ca
Mon Apr 25 22:02:51 CEST 2005
Ali - wrote:
>
>> Is it possible to break the package into multiple parts, perhaps like
>> a bundle? Then you could only load the parts that you need at any
>> particular time.
>>
>
> It could be done, but the question is, what if one of the packages in
> the bundle depends on all of the rest? And the bigger question is, why
> lazy loading is not efficient when it comes to many small functions?
Lazy loading just converts an object into a small instruction to load
the object. If the object was already small, there's no advantage to
that. It's mainly designed to avoid memory use (some rarely used
objects can be gigantic).
Duncan Murdoch
More information about the R-devel
mailing list