On 12 April 2013 at 07:34, Dale Smith wrote:
| I did indeed read about the constructor but misinterpreted the statement - my 
bad. Your suggestion is a good one to try so I will benchmark my RESET test 
code with the various suggestions, including join as Dirk suggested.

Conrad's suggestion was (of course) even better because once you declare the
memory chunk you access as modifiable, you should be able to extend as you
had attempted, without forcing a copy (as I did with either approach).

Dirk
 
-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to