Python 3.11 ã¾ã§ã¯ã空æåã§ã64ãã¤ãã®ã¡ã¢ãªã使ç¨ãã¦ãã¾ããã(64bitãã©ãããã©ã¼ã ã®å ´å) Unicodeã®å é¨è¡¨ç¾ã®ãã¡ä¸çªå°ãã PyASCIIObject æ§é ä½ã48ãã¤ãã§ããã®æ§é ä½ã®å¾ãã«ASCIIæååãç¶ãã¾ãããã®æååã¯NULçµç«¯ããã¦ããã®ã§ã空æååã§ã1ãã¤ã追å ããã¦49ãã¤ãã«ãªãã¾ãã >>> sys.getsizeof("") 49 ããã«å°ããã¡ã¢ãªãããã¯ã®ã¢ãã±ã¼ãããã¦ããpymallocãã¡ã¢ãªãï¼ã¢ã©ã¤ã¡ã³ãã®é¢ä¿ã§ï¼16ãã¤ãåä½ã§å²ãå½ã¦ãã®ã§ã49ãã¤ãã®mallocã§ã64ãã¤ãã確ä¿ããã¦ãã¾ãã¾ãã Python 3.12 ããã¯ãPyASCIIObjectæ§é ä½ãã wchar_t* 表ç¾ããã£ãã·ã¥ãããã¤ã³ã¿ãæ¶ãã40ãã¤ãã«ãªãã¾ãããããã§ASCIIã§7æåã¾ã§ã®æååã§ããã°48ãã¤ãã«åã¾
{{#tags}}- {{label}}
{{/tags}}