mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
moddified speed test
[SVN r80839]
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
@@ -23,7 +21,6 @@ int main()
|
||||
namespace bgi = bg::index;
|
||||
|
||||
size_t values_count = 1000000;
|
||||
size_t tests_count = 10;
|
||||
size_t queries_count = 100000;
|
||||
|
||||
std::vector< std::pair<float, float> > coords;
|
||||
@@ -107,6 +104,8 @@ int main()
|
||||
std::cout << "found: " << temp << "\n";
|
||||
}
|
||||
|
||||
result.clear();
|
||||
|
||||
// searching test
|
||||
{
|
||||
std::cout << "nearest 5 searching time test... ("
|
||||
|
||||
Reference in New Issue
Block a user