Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1030097 // parallelEval

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (3076L) is out of date.

static <A> L<A> parallelEval(ThreadPoolExecutor executor default null, L<IF0<A>> l) {
  ret parallelMap2(executor, l, func(IF0<A> f) -> A { callF(f) });
}

static <A> L<A> parallelEval(ThreadPoolExecutor executor default null, IF0<A>... l) {
  ret parallelEval(executor, asVirtualList(l));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030097
Snippet name: parallelEval
Eternal ID of this version: #1030097/5
Text MD5: cd0e3fc46a158e742329e65df8fb0152
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-07 02:38:50
Source code size: 297 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 119 / 194
Version history: 4 change(s)
Referenced in: [show references]