ããã»ã¹ã並åã«ç«ã¡ä¸ãã¦è² è·ãæãããããªãã³ããã¼ã¯ãå®è¡ãããã¨ã£ã¦ãããããã¾ãããã(ä¾ : ã¯ã¨ãªãã£ãã·ã¥ãåã£ãã»ãããã¤ã«ï¼ ãã³ããã¼ã¯ãã¦ã¿ã - é æ¥è¨ ã¯ã¦ãªæ¯åº) Perl 㧠Parallel::ForkManager ã使ãã¨ããããå¦çãç°¡åã«æ¸ãã¦ä¾¿å©ãªã®ã§ãããä½åº¦ãåããããªã³ã¼ããæ¸ããã¡ã«ãããããã¡ãã£ã¨æ½è±¡åããã使ãããããããã¨æã£ã¦ Parallel::Benchmark ã¨ããã¢ã¸ã¥ã¼ã«ãæ¸ãã¦ã¿ã¾ããã ãªãã¸ããªã¯ãã¡ãã§ãã https://github.com/fujiwara/p5-Parallel-Benchmark ãã¨ãã°ãã£ããããæ° fib(10) ãæ±ãããã³ããã¼ã¯ã use Parallel::Benchmark; sub fib { my $n = shift; return $n if $n == 0 o
{{#tags}}- {{label}}
{{/tags}}