[Rcpp-devel] List of Lists to List of Vectors

Dirk Eddelbuettel edd at debian.org
Tue May 5 23:36:44 CEST 2015


On 5 May 2015 at 15:18, Tim Keitt wrote:
| On Tue, May 5, 2015 at 9:11 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
|     On 4 May 2015 at 14:42, Tim Keitt wrote:
|     | Copying is where all the costs accumulate for sure. I find it mostly
|     guesswork
|     | whether something copies or not with Rcpp data structures.
| 
|     By now we have said about 1e4 times that Rcpp data structures are ("no
|     copies") whereas other (ie Boost, STL, ...) data structures generally need
|     copies.
| 
| I have no idea what that means. I just know its very easy for me to figure out
| when things are copied using STL. Not so much with Rcpp.

In the editing process I dropped a 'proxies' -- sorry. Let's try again:

   By now we have said about 1e4 times that Rcpp data structures are proxy
   objects ("no copies") whereas other (ie Boost, STL, ...) data structures
   generally need copies.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list