-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimized lower_bound/binary_search algorithms.
- Loading branch information
Showing
3 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
g++ -DNDEBUG -I../../../include -O3 -o deq_benchmark deq_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o list_benchmark list_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o hmap_benchmark hmap_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o smap_benchmark smap_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o vec_benchmark vec_benchmark.cpp | ||
exe='' | ||
if [ "$OS" = "Windows_NT" ] ; then exe=".exe" ; fi | ||
g++ -DNDEBUG -I../../../include -O3 -o deq_benchmark$exe deq_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o list_benchmark$exe list_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o hmap_benchmark$exe hmap_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o smap_benchmark$exe smap_benchmark.cpp | ||
g++ -DNDEBUG -I../../../include -O3 -o vec_benchmark$exe vec_benchmark.cpp | ||
|
||
c='Mingw-g++-13.1.0' | ||
./deq_benchmark $c | ||
./list_benchmark $c | ||
./hmap_benchmark $c | ||
./smap_benchmark $c | ||
./vec_benchmark $c | ||
./deq_benchmark$exe $c | ||
./list_benchmark$exe $c | ||
./hmap_benchmark$exe $c | ||
./smap_benchmark$exe $c | ||
./vec_benchmark$exe $c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters