Nathan Russell Hashmap Versions Save

Faster hash maps in R

v0.2.2

6 years ago

Contains a fix for a bug in 0.2.1 which caused a build error on macOS.

v0.2.1

6 years ago

Improvements

  • By default, on non-Solaris platforms the internal hash table used is spp::sparse_hash_map (from the C++ library sparsepp), rather than boost::unordered_map. In all cases this should result in improved performance and reduced memory usage; for a more detailed analysis refer to the sparsepp benchmark. To revert to boost::unordered_map on these platforms, add -DHASHMAP_NO_SPP to PKG_CPPFLAGS in the Makevars file and rebuild the package.

v0.2.0

7 years ago

New Features

  • Added save_hashmap and load_hashmap function for saving and loading Hashmap objects (#3).

  • Added S3 plot method.

  • Added clone function for creating deep copies. This is also reflected in the C++ API via HashMap::clone.

  • Added S3 merge method

Improvements

  • Integers are now printed correctly.

  • Key and value vector access is now automatically cached on the first call to $keys() and $values(), respectively.

  • Better handling of Date and POSIXt names for $data() (#4).

v0.1.0

8 years ago