concurrent.futuresã¢ã¸ã¥ã¼ã«ã®æ¦è¦ Python3.2ã§è¿½å ãããconcurrent.futuresã¢ã¸ã¥ã¼ã«ã¯ãè¤æ°ã®å¦çã並åå®è¡ããããã®æ©è½ãæä¾ãã¾ãã Pythonã«ã¯ä»ã«threadingã¨multiprocessingã¨ããã¢ã¸ã¥ã¼ã«ãããã¾ãããããããï¼ã¤ã®ã¹ã¬ããã»ããã»ã¹ãæ±ãã®ã«å¯¾ãã¦ãconcurrent.futuresã¢ã¸ã¥ã¼ã«ã¯è¤æ°ã®ã¹ã¬ããã»ããã»ã¹ãæ±ããã¨ãç®çã¨ãã¦ãã¾ãã Executor concurrent.futuresã¢ã¸ã¥ã¼ã«ã«ã¯æ½è±¡ã¯ã©ã¹ã¨ãã¦Executorã¯ã©ã¹ããããå®è£ ã¯ã©ã¹ã¨ãã¦2ã¤ã®ã¯ã©ã¹ãæä¾ããã¦ãã¾ãã 並åã¿ã¹ã¯ãå®è¡ããã«ã¯ãã®ï¼ã¤ã®ãã¡ã©ã¡ããã使ç¨ãã¾ãã ThreadPoolExecutor ã¹ã¬ããã使ã£ã¦ä¸¦åã¿ã¹ã¯ãå®è¡ãã¾ãã ãããã¯ã¼ã¯ã¢ã¯ã»ã¹ãªã©CPUã«è² è·ãããããªãå¦çã®ä¸¦
{{#tags}}- {{label}}
{{/tags}}