エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Selected Intelligence — Parallel Map in Elixir
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Selected Intelligence — Parallel Map in Elixir
This is an example of creating a Parallel Map function in Elixir. It comes from Dave Thomas’ book... This is an example of creating a Parallel Map function in Elixir. It comes from Dave Thomas’ book on Elixir. He describes it as the “Hello, World!” of Elixir. It’s a very impressive thing and I know it’s been commented on before. I wanted to record some of my own thoughts about it. defmodule Parallel do def pmap(collection, fun) do me = self collection |> Enum.map(fn (elem) -> spawn_link fn -> (se