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], Posit Software, PBC [cph, fnd], Tessil [cph] (hopscotch_map library)
MaintainerWinston Chang <winston@posit.co>
LicenseMIT + file LICENSE
Version1.2.0
URL https://r-lib.github.io/fastmap/ https://github.com/r-lib/fastmap
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("fastmap")

Try the fastmap package in your browser

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

fastmap documentation built on June 22, 2024, 10:59 a.m.