Skip to content

Draft: optional fast serialization and storage using qs package

Marco De Lucia requested to merge mdl/enable-qs into main

The new --qs command line flag switches binary storage from default .rds to the format provided by the qs extension package, which provides much faster drop in replacements for R's builtin readRDS and saveRDS. Two new handler functions, ReadRObj() and SaveRObj() and their cpp counterparts with suffix _R, e.g., SaveRObj_R, should now be used throughout to handle I/O based on extension of the provided filepaths.

TODOS:

  • enable builtin multithreading in qsave()
  • further testing and refactoring
Edited by Marco De Lucia

Merge request reports

Loading