diff --git a/R/coll_utils.R b/R/coll_utils.R index 26b5cac3..bea9a0be 100644 --- a/R/coll_utils.R +++ b/R/coll_utils.R @@ -1,7 +1,7 @@ #### #' Create a vec using a list #### #' @return a list that provides a vector as well as a deque make_vec <- function() { - vec <- vector(mode = "list", length = 128L) ## initial length of 128! + vec <- vector(mode = "list", length = 29L) ## initial length of 29! n <- 0L push_back <- function(what) { n <<- n + 1L; vec[[n]] <<- what; invisible(what) } push_front <- function(what) { vec <<- append(list(what), vec); n <<- n + 1L; invisible(what) } diff --git a/docs/404.html b/docs/404.html index 0977b1e1..f5885b11 100644 --- a/docs/404.html +++ b/docs/404.html @@ -18,13 +18,14 @@ +
- +