High Performance Container Data Types

Provides high performance container data types such as Queue, Stack, Deque, Dict and OrderedDict. Benchmarks < https://randy3k.github.io/collections/articles/benchmark.html> have shown that these containers are asymptotically more efficient than those offered by other packages.


CRAN_Status_Badge

Github: https://github.com/randy3k/collections

Documentation: http://randy3k.github.io/collections

Provides high performance container data types such as Queue, Stack, Deque, Dict and OrderedDict. Benchmarks https://randy3k.github.io/collections/articles/benchmark.html have shown that these containers are asymptotically more efficient than those offered by other packages.

Related R packages

dequer implements double ended queues and it supports arbitary R objects. However, it uses R_PreserveObject and R_ReleaseObject heavily which could be an issue for long queues.

datastructures uses ‘Boost’ and ‘STL’ data types to implement queues and hashmaps.

liqueueR implements queues using R lists.

hash uses new.env( hash = TRUE) to create hash tables.

hashmap provides fast hashmap for atomic vectors.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("collections")

0.1.6 by Randy Lai, 15 days ago


https://randy3k.github.io/collections


Browse source code at https://github.com/cran/collections


Authors: Randy Lai [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports R6

Suggests testthat


Imported by languageserver.


See at CRAN