{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fauewe.hatenablog.com%2Fentry%2F2013%2F10%2F16%2F062911\" title=\"Python\u3067\u4e26\u5217\u8a08\u7b97(Pool\u3068map\u3092\u4f7f\u3046) - \u4f59\u767d\u306e\u66f8\u304d\u306a\u3050\u308a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u4f59\u767d\u306e\u66f8\u304d\u306a\u3050\u308a","author_name":"auewe","height":"190","provider_url":"https://hatena.blog","width":"100%","type":"rich","blog_url":"https://auewe.hatenablog.com/","description":"python\u3067\u4e26\u5217\u8a08\u7b97\u3092\u3057\u305f\u3044\u3068\u304d\u3001Pool\u3068map\u3092\u4f7f\u3046\u306e\u304c\u7c21\u5358\u3060\u3063\u305f\u3002 C\u8a00\u8a9e\u3067\u4e26\u5217\u8a08\u7b97\u3057\u3066\u914d\u5217\u306b\u683c\u7d0d\u3059\u308b \u306e\u3068\u540c\u3058\u3088\u3046\u306a\u611f\u899a\u3002 map\u3092\u4f7f\u3046\u306e\u304c\u30ab\u30c3\u30b3\u30a4\u30a4\u3002Haskell\u307f\u305f\u3044\u3002 \u7c21\u5358\u306a\u4f8b twiceFunc\u3068\u3044\u3046\u540d\u306e\u95a2\u6570 f(x) = 2x \u306b argList = [1,2,3] \u306e\u5404\u8981\u7d20\u3092\u4e26\u5217\u306b\u4ee3\u5165\u3057\u3066\u3001 resultList = [2,4,6] \u3092\u5f97\u308b\u30d7\u30ed\u30b0\u30e9\u30e0 from multiprocessing import Pool def twiceFunc(arg): return 2 * arg if __name__ == '__main__': argList = [ 1, 2\u2026","title":"Python\u3067\u4e26\u5217\u8a08\u7b97(Pool\u3068map\u3092\u4f7f\u3046)","url":"https://auewe.hatenablog.com/entry/2013/10/16/062911","version":"1.0","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/auewe/","categories":["Python","\u4e26\u5217\u8a08\u7b97"],"published":"2013-10-16 06:29:11"}