mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 22:44:26 +02:00
Add devector-based flat_set/map to bench
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#include "boost/container/set.hpp"
|
#include "boost/container/set.hpp"
|
||||||
#include "boost/container/flat_set.hpp"
|
#include "boost/container/flat_set.hpp"
|
||||||
|
#include "boost/container/devector.hpp"
|
||||||
#include "bench_set.hpp"
|
#include "bench_set.hpp"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
@@ -24,6 +25,10 @@ int main()
|
|||||||
("flat_multiset<int>", "multiset<int>");
|
("flat_multiset<int>", "multiset<int>");
|
||||||
launch_tests< flat_multiset<string> , multiset<string> >
|
launch_tests< flat_multiset<string> , multiset<string> >
|
||||||
("flat_multiset<string>", "multiset<string>");
|
("flat_multiset<string>", "multiset<string>");
|
||||||
|
//flat_multiset vs flat_multiset(devector)
|
||||||
|
launch_tests< flat_multiset<int>, flat_multiset<int, std::less<int>, devector<int> > >
|
||||||
|
("flat_multiset<int>", "flat_multiset(devector)<int>");
|
||||||
|
launch_tests< flat_multiset<string>, flat_multiset<string, std::less<string>, devector<string> > >
|
||||||
|
("flat_multiset<string>", "flat_multiset(devector)<string>");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#include "boost/container/set.hpp"
|
#include "boost/container/set.hpp"
|
||||||
#include "boost/container/flat_set.hpp"
|
#include "boost/container/flat_set.hpp"
|
||||||
|
#include "boost/container/devector.hpp"
|
||||||
#include "bench_set.hpp"
|
#include "bench_set.hpp"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
@@ -24,6 +25,11 @@ int main()
|
|||||||
("flat_set<int>", "set<int>");
|
("flat_set<int>", "set<int>");
|
||||||
launch_tests< flat_set<string> , set<string> >
|
launch_tests< flat_set<string> , set<string> >
|
||||||
("flat_set<string>", "set<string>");
|
("flat_set<string>", "set<string>");
|
||||||
|
//flat_multiset vs flat_multiset(devector)
|
||||||
|
launch_tests< flat_set<int>, flat_set<int, std::less<int>, devector<int> > >
|
||||||
|
("flat_set<int>", "flat_set(devector)<int>");
|
||||||
|
launch_tests< flat_set<string>, flat_set<string, std::less<string>, devector<string> > >
|
||||||
|
("flat_set<string>", "flat_set(devector)<string>");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user