Skip to content
Prev 33698 / 63424 Next

Basic Question regarding PROTECT

On Mon, 24 Aug 2009, Saptarshi Guha wrote:

            
That's not where the cost would be.   PROTECT/UNPROTECT calls themselves are very cheap, since they just push and pop pointers from a stack. Any real impact of different strategies in using PROTECT would be seen in the garbage collector.  

     -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle