fastmap: Fast Data Structures

Fast implementation of data structures, including a key-value store, stack, and queue. Environments are commonly used as key-value stores in R, but every time a new key is used, it is added to R's global symbol table, causing a small amount of memory leakage. This can be problematic in cases where many different keys are used. Fastmap avoids this memory leak issue by implementing the map using data structures in C++.

Getting started

Package details

AuthorWinston Chang [aut, cre], RStudio [cph, fnd], Tessil [cph] (hopscotch_map library)
MaintainerWinston Chang <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the fastmap package in your browser

Any scripts or data that you put into this service are public.

fastmap documentation built on March 7, 2023, 6:07 p.m.