Hacker News ã§ã¿ããã Glibcâs strlen implementation: Probably not what youâd guess ã¨ããã¹ã¬ãããé¢ç½ãã£ããã¹ã¬ããã§ã¯ GNU ã®ä»ã« OpenBSD (ã¹ã㪠C, i386, x86-64) 㨠Apple (SSE3 ã使ã£ã¦ãã) ã«ããªã³ã¯ããããã ãã©ãããã§ã¯ GNU strlen ã®å®è£ ã«ã¤ãã¦ã ã説æãã¾ãã å®è£ GNU strlen ã¯æååãã long word åä½ã§ããã¾ãã« NUL ã£ã½ããã®ãæ¢ãã¦ããããã¤ãåä½ã§ãã¾ããæ¢ããã¨ããæ¹æ³ãã¨ã£ã¦ããã strlen.c ã«ãã strlen ã¯ãããªããã¼ãªã¨ãããä¸å¯§ã«ã³ã¡ã³ãã§è£ã£ã¦ããããããã£ã¦ããé·ããã¾ããstrlen ã®å¼æ°ã® str ã®ã¢ãã¬ã¹ã long word ã«ããã£ã¦ããªãå ´åãæåã® for ã«ã¼
{{#tags}}- {{label}}
{{/tags}}