JanMarvin / readsas

Read the SAS file formats
https://janmarvin.github.io/readsas
GNU General Public License v2.0
3 stars 0 forks source link

use std::vector not Rcpp::Vector #26

Closed JanMarvin closed 2 years ago

JanMarvin commented 2 years ago

Use std::vector pushing back to Rcpp::Vector types is known to be slow.

Have to clean up a few cases where Rcpp::Vector logic is still used. choose() should be replaced with a std::find and std::distance logic.