Please select the category that most closely reflects your concern about the presentation, so that we can review it and determine whether it violates our Terms of Use or isn't appropriate for all viewers.
åç»å¤æãªã©ã®CPUæéã®ãããå¦çãè¤æ°ã³ã¢ã§ä¸¦åå¦çããã°å¹ççã ã¨ãã話ãä¾ãã°Intelã®Core 2 Duoã®å ´åã常ã«2ããã»ã¹èµ°ã£ã¦ããã°ã·ã³ã°ã«ã®ååã®æéã§æ¸ããã¨ããããã§Pythonã§ãã£ã¦ã¿ãã Pythonã§ã¯threading.Threadã¨BoundedSemaphoreã使ã£ã¦å¶å¾¡ããã®ã楽ããã ãããã»ã¹ã®å®è¡ã¯subprocess.Popenã使ãã ããã§ã¯ãè¤æ°ã®AVIåç»ãã¡ã¤ã«ãmencoderã使ã£ã¦MPEGãã¡ã¤ã«ã«å¤æãã¦ã¿ããã¾ããThreadã¯ã©ã¹ãç¶æ¿ããMyThreadã¯ã©ã¹ãä½ããã¾ããBoundedSemaphoreã§åæã«å®è¡ããããã»ã¹æ°ãæå®ãããã¨ããããã³ã¢æ°ã¨åã2ã¨ãããããã¦åç»ãã¡ã¤ã«åã ãMyThreadã®ã¤ã³ã¹ã¿ã³ã¹ãä½ãå®è¡ãããããã ããã¡ãªã¿ã«ã»ããã©ã§ã¯withæã使ã£ã¦ãããPythonã®ãã¼ã¸ã§
Tricorn Tech Labs ã¯ã¡ã¼ã«ã LINE ãç¨ãã Web ãã¼ã±ãã£ã³ã° SaaS ã«å¼·ã¿ãæã¤ãã©ã¤ã³ã¼ã³æè¡è ã«ããããã°ã§ãã oktã§ãã æ®æ®µã並åå¦çã®ããã°ã©ã ãæ¸ããã¨ã¯æ» å¤ã«ãªããã§ãããä»å¾ã®ããã« GIL(Global Interpreter Lock) ã«ããå½±é¿ã軽ã確èªãã¦ãããã¨æã£ãã®ã¨ãPython2.6 ã§å®è£ ãããmultiprocessing ããã±ã¼ã¸ã«è§¦ãã¦ãããã¨ããäºã§ãã¿ã«ãã¦ã¿ã¾ããã PythonãRubyã§ãã«ãã¹ã¬ãããªä¸¦åå¦çãæ¸ããã¨æã£ããGILã®åé¡ã«ã¶ã¡å½ããã¾ãã æè¿ã®ãµã¼ãã§ã¯2ã³ã¢4ã³ã¢ãå½ããåãªã®ã§ãããGILã®åé¡ãããã¨è¤æ°ã®CPUãæå¹å©ç¨ã§ãã¾ãããããã以ä¸ã®è¨èªã¨ãµã³ãã«ã³ã¼ãã使ã£ã¦ç¶æ³ç¢ºèªãã¾ãã ãµã³ãã«ã³ã¼ãã¯ã0ãã100,000,000ã¾ã§ã¤ã³ã¯ãªã¡ã³ãããã¹ã¬ããã4
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}