【.NET】 C++/CLI に ..
[2ch|▼Menu]
353:デフォルトの名無しさん
05/12/10 13:18:58
気になったので試してみた

  List<int>^ results = gcnew List<int>;
  time_t stm = 0;
  time(&stm);
  for ( unsigned long int i=0; i<100000000; i++ )
  {
    results->Add(lstrcmp(a, b));
  }
  time_t etm = 0;
  time(&etm);
  std::cout << "Result : " << etm - stm << " Size : " << results->Count << std::endl;

      CLR Native CLRx64 Nativex64
lstrcmp  13s  11s   12s   9s

なかなか、よい結果です


次ページ
続きを表示
1を表示
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

5395日前に更新/240 KB
担当:undef