diff --git a/src/qs.cpp b/src/qs.cpp index 22f59f0c..2503320c 100644 --- a/src/qs.cpp +++ b/src/qs.cpp @@ -44,9 +44,7 @@ Rcpp::CharacterVector rxQs(SEXP const x) { loadQs(); Rcpp::Function base91_encode = Rcpp::as(qsNs["base91_encode"]); Rcpp::Function qserialize = Rcpp::as(qsNs["qserialize"]); - return base91_encode(qserialize(x, Rcpp::CharacterVector::create("high"), Rcpp::CharacterVector::create("zstd"), - Rcpp::IntegerVector::create(22), - Rcpp::IntegerVector::create(15), Rcpp::LogicalVector::create(true))); + return base91_encode(qserialize(x, Rcpp::CharacterVector::create("fast"))); } //[[Rcpp::export]] @@ -54,7 +52,7 @@ SEXP rxQr(const std::string& encoded_string) { loadQs(); Rcpp::Function base91_decode = Rcpp::as(qsNs["base91_decode"]); Rcpp::Function qdeserialize = Rcpp::as(qsNs["qdeserialize"]); - return qdeserialize(base91_decode(Rcpp::wrap(encoded_string)), false, false); + return qdeserialize(base91_decode(Rcpp::wrap(encoded_string))); }