<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="html">::NPTEAM:: Network Programer Team: STL-Vector-Container-Iterating-속도-비교에 달린 최근 댓글/트랙백 목록</title>
  <id>http://npteam.net/</id>
  <link rel="alternate" type="text/html" hreflang="ko" href="http://npteam.net/" />
  <subtitle type="html"></subtitle>
  <updated>2011-10-04T07:31:44+09:00</updated>
  <generator>Textcube 1.7.8 : Con moto</generator>
  <entry>
    <title type="html">섭군님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment208" />
    <author>
      <name>(섭군)</name>
    </author>
    <id>http://npteam.net/775#comment208</id>
    <published>2010-03-12T12:51:14+09:00</published>
    <summary type="html">c# 에 있던 키워드인데 c++ 에서도 되는코드군요. 문제는 레퍼런스가 아닌 단순 복사된 객체를 핸들링 하게 됩니다. 리스트의 데이터 타입이 포인터가 아닌 객체라면 for each 는 실제 컨테이너에 존재하는 객체에 대한 수정을 할 수 없습니다.</summary>
  </entry>
  <entry>
    <title type="html">올랑님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment204" />
    <author>
      <name>(올랑)</name>
    </author>
    <id>http://npteam.net/775#comment204</id>
    <published>2010-03-01T22:14:39+09:00</published>
    <summary type="html">오, 아주 좋은 글이군요. 감사해요</summary>
  </entry>
  <entry>
    <title type="html">TTF님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment205" />
    <author>
      <name>(TTF)</name>
    </author>
    <id>http://npteam.net/775#comment205</id>
    <published>2010-03-03T10:43:44+09:00</published>
    <summary type="html">http://cafe.naver.com/gamelong/75
for_each 활용 예제 입니다.</summary>
  </entry>
  <entry>
    <title type="html">kalms님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment206" />
    <author>
      <name>(kalms)</name>
    </author>
    <id>http://npteam.net/775#comment206</id>
    <published>2010-03-03T17:44:07+09:00</published>
    <summary type="html">functor보다 BOOST를 썼었는데 이런 엄청난 차이가... 덜덜.
근데 5번은 어떻게 하는 거죠? 그냥 std::each 인가요?</summary>
  </entry>
  <entry>
    <title type="html">frovi님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment207" />
    <author>
      <name>(frovi)</name>
    </author>
    <id>http://npteam.net/775#comment207</id>
    <published>2010-03-09T01:08:48+09:00</published>
    <summary type="html">compiler에서 for문안에서 local 변수만의 대입이 일어나고 사용되지 않으면 자동 Skip합니다. 외부와 연결된 변수를 사용해 보시면 많이 다르게 나올겁니다.
( 단지 컴파일러의 성능 때문이라고 봅니다 )
첫번째 방식은 for문안에서 function을 call하고, for문 밖에서 Iterator가 사용되기 때문에 skip되지 않은걸로 보입니다.</summary>
  </entry>
  <entry>
    <title type="html">섭군님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment209" />
    <author>
      <name>(섭군)</name>
    </author>
    <id>http://npteam.net/775#comment209</id>
    <published>2010-03-12T12:51:58+09:00</published>
    <summary type="html">좋은 정보 감사합니다 @_@</summary>
  </entry>
  <entry>
    <title type="html">1억개님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment213" />
    <author>
      <name>(1억개)</name>
    </author>
    <id>http://npteam.net/775#comment213</id>
    <published>2010-04-20T22:35:14+09:00</published>
    <summary type="html">1억개에 0ms 라...</summary>
  </entry>
  <entry>
    <title type="html">Dish님의 댓글</title>
    <link rel="alternate" type="text/html" href="http://npteam.net/775#comment292" />
    <author>
      <name>(Dish)</name>
    </author>
    <id>http://npteam.net/775#comment292</id>
    <published>2010-11-10T19:50:57+09:00</published>
    <summary type="html">1억개 0ms는 확실히 이상한데요 (...)

frovi님 말씀처럼 Release 코드 최적화 과정에서 코드가 사라져 버려서
제대로 결과가 안 나온 것 같습니다.</summary>
  </entry>
</feed>

