Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
torin
szorg5
Commits
7294da30
Commit
7294da30
authored
May 27, 2015
by
torin
Browse files
ok
parent
c5666427
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.cpp
View file @
7294da30
//
#include <iostream>
//
#include <iterator>
//
#include <memory>
//
#include <vector>
//
#include <ctime>
/*
#include
<iostream>
#include
<iterator>
#include
<memory>
#include
<vector>
#include
<ctime>
namespace
recursive_storage
{
template
<
class
T
>
class
node
...
...
@@ -368,8 +368,8 @@ public:
};
template
<
class
T
>
int
graph
<
T
>::
node
::
_id
=
0
;
}
*/
/*
}
void
test1
(
int
num
)
{
time_t
start
,
end
;
...
...
@@ -476,12 +476,12 @@ void test3(int num)
std
::
cout
<<
"recursive_storage: "
<<
localtime
(
&
end
)
->
tm_min
*
60
+
localtime
(
&
end
)
->
tm_sec
-
localtime
(
&
start
)
->
tm_min
*
60
-
localtime
(
&
start
)
->
tm_sec
<<
"s"
<<
std
::
endl
;
}
*/
}
int
main
()
{
//
test1(1000000);
//
test2(100000);
//
test3(100000);
test1
(
1000000
);
test2
(
100000
);
test3
(
100000
);
return
0
;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment