Skip to content

Commit

Permalink
more efficient re-contextualized evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Oct 6, 2024
1 parent 84372a9 commit bc7181e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mirai
Type: Package
Title: Minimalist Async Evaluation Framework for R
Version: 1.2.0.9027
Version: 1.2.0.9028
Description: Designed for simplicity, a 'mirai' evaluates an R expression
asynchronously in a parallel process, locally or distributed over the
network, with the result automatically available upon completion. Modern
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mirai 1.2.0.9027 (development)
# mirai 1.2.0.9028 (development)

#### New Features

Expand Down
2 changes: 1 addition & 1 deletion R/map.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ mirai_map <- function(.x, .f, ..., .args = list(), .promise = NULL, .compute = "

missing(..1) && return(collect_aio_(x))

dots <- lapply(substitute(alist(...))[-1L], eval, envir = environment(mirai_map))
dots <- eval(`[[<-`(substitute(alist(...)), 1L, quote(list)), envir = environment(mirai_map))
expr <- if (length(dots) > 1L) do.call(expression, dots) else dots[[1L]]
xlen <- length(x)
i <- 0L
Expand Down

0 comments on commit bc7181e

Please sign in to comment.