STL ã¯ç¥ãã°ç¥ãã»ã©ããã§ãã¦ããã¨æå¿ãã¾ããEffective STL ã®46é ã«ã¯ä»åã¨åæ§ã®å®é¨ãåãä¸ãããã¦ãã¾ãã Effective STL ã«ã¯ä»ã«ããã¤ãã¬ã¼ã¿ã®ç¡å¹åãã³ã³ããæä½ã®æ§è½ãªã©ã STL ã使ãä¸ã§æ³¨æãã¹ãç¹ã詳ãã解説ããã¦ãã¾ãã å®é¨ã«ä½¿ã£ãããã°ã©ã ã¯ä»¥ä¸ã®éãã§ãã $((2**24)) ã¯ã³ãã³ãã©ã¤ã³ã§ 2ã®24ä¹ãè¨ç®ãã表è¨ã§ããbash ã zsh ã§ä½¿ãã¾ãã å®è¡çµæ % g++ -O2 -o sort sort.cpp % ./sort $((2**24)) qsort: 9.22 stl-sort-func: 5.62 stl-sort-functor: 2.56 % icc -O2 -o icc-sort sort.cpp % ./icc-sort $((2**24)) qsort: 8.82 stl-sort-fun
{{#tags}}- {{label}}
{{/tags}}