- Fixed a bug that was causing a build error on macOS.
- By default, on non-Solaris platforms the internal hash table used is
spp::sparse_hash_map
(from the C++ librarysparsepp
), rather thanboost::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 toboost::unordered_map
on these platforms, add-DHASHMAP_NO_SPP
toPKG_CPPFLAGS
in the Makevars file and rebuild the package.
-
Added
save_hashmap
andload_hashmap
function for saving and loadingHashmap
objects (#3). -
Added S3
plot
method. -
Added
clone
function for creating deep copies. This is also reflected in the C++ API viaHashMap::clone
. -
Added S3
merge
method.
-
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
andPOSIXt
names for$data()
(#4).