Skip to content

Commit

Permalink
Merge pull request #101 from vaerksted/master
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
traversc authored Jun 21, 2024
2 parents bcf9850 + 7ec42c8 commit 8d12eea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Version 0.17.1 (2019-6-24)
Version 0.16.3 (2019-6-21)
* Use hash checksums for checking file integrity using the `xxhash` library
* New parameter: `qsave` -- `check_hash`, computes a checksum on the serialized data
* New paramter: `qread` -- `strict`, throws an error if checksum does not pre-computed value
* New parameter: `qread` -- `strict`, throws an error if checksum does not pre-computed value
* `qdump` function reports checksums
* Performance optimizations -- use C interface directly rather than Rcpp containers
* About 180% serialization speed improvement for large lists (e.g., `as.list(runif(1e6))`)
Expand Down
6 changes: 3 additions & 3 deletions src/qs_serialize_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ void writeObject(T * const sobj, SEXP x) {
// evaluate promises immediately
if(!trust_promises_global) {
if(TYPEOF(x) == PROMSXP) {
int error_occured = 0;
SEXP xeval = R_tryEval(x, R_BaseEnv, &error_occured);
if(error_occured) {
int error_occurred = 0;
SEXP xeval = R_tryEval(x, R_BaseEnv, &error_occurred);
if(error_occurred) {
writeObject(sobj, R_NilValue);
} else {
PROTECT(xeval);
Expand Down

0 comments on commit 8d12eea

Please sign in to comment.