Skip to content
Prev 15752 / 63461 Next

How allocate STRSXP outside of gc

On Wed, 13 Apr 2005, Vadim Ogranovich wrote:

            
Yes (and that is one reason why scan in 2.1.0 uses lookups, space sharing 
being the other), but both are really fast and this only comes into play 
with hundreds of millions of items.  (On my machine mkChar takes about 200 
ns, hardly `rather expensive'.)  And if you have that much data, why not 
store it in a more efficient format?