Skip to content

Releases: LTLA/rds2cpp

v1.3.1

02 Apr 12:51

Choose a tag to compare

  • Bugfix for parsing objects with zero-length atomic vectors or strings.

v1.3.0

01 Apr 14:36

Choose a tag to compare

  • Update to the latest byteme interfaces.
  • Streamlined ParseRdsOptions to use a general-purpose buffer size.
  • Added buffer size and parallelization options to write_rds().
  • Symbols are now represented by SymbolIndex in all contexts, including attribute names, pairlist tags, environment variable names, etc. This improves memory efficiency at the cost of an extra level of indirection to fetch the actual string/encoding from RdsFile::symbols.
  • Added the register_symbol() function to easily register new symbols prior to writing RDS files.
  • StringVector now contains a vector of Strings, each of which contain the (optional) string value and its encoding. If the string value is unset, this indicates that the string was missing.
  • All RObject subclasses are now final to encourage devirtualization.
  • Removed all methods from all struct definitions, as structs are intended to be passive data carriers with no methods.
  • Refactored representation of attributes to a std::vector of Attribute objects, each of which has a name and value. The same applies with Environments, which now contain a std::vector of EnvironmentVariable objects; PairLists, which now contain a std::vector of PairListElements; and Language objects, which now contain a std::vector of LanguageArgument objects.
  • Support reading and writing of RDA files via parse_rda() and write_rda(). This produces an RdaFile object that contains a vector of RdaObject instances, each of which contains the name and value of each object saved within the RDA file.

v1.2.0

31 Jul 19:37

Choose a tag to compare

  • Updates to use the latest byteme interfaces.

v1.1.0

04 Sep 04:19
c27d493

Choose a tag to compare

  • Handle NULL parents when serializing weird igraph objects.
  • Avoid unnecessary copies in the buffer during parsing.
  • Optional parallelization of reading and parsing.

v1.0.1

29 Aug 23:42

Choose a tag to compare

Support parsing of base and empty environments.

v1.0.0

21 Aug 17:14

Choose a tag to compare

First formal release of this library.