[Rcpp-devel] Faster lookup: Named Rcpp::List or std::map?

Asis Hallab asis.hallab at gmail.com
Wed Jul 23 15:30:47 CEST 2014

Dear Rcpp-Experts,

trying to optimize my algorithm I face the question wether a lookup by
a string key like e.g.

myRcppList( "my_entry" ) is as fast as the lookup in std::maps?

That said, would you recommend converting myRcppList to a std::map
before searching it?

Thank you for your help in advance!

More information about the Rcpp-devel mailing list