Skip to content
Snippets Groups Projects
Commit 7906ff49 authored by timeo's avatar timeo
Browse files

avec les flags d'optis c'est mieux

parent 2e7cdb96
No related branches found
No related tags found
No related merge requests found
......@@ -503,13 +503,13 @@ int32_t nbAdditifSuffixTreeWithOpenMP(int nb){
}
int main(){
parseFile("testfiles/100000fromCorrect.txt");
parseFile("testfiles/1000000fromCorrect.txt");
sommeAdditive();
//ecrireSommeCentre();
high_resolution_clock::time_point t1 = high_resolution_clock::now();
std::cout << std::endl << nbAdditifSuffixTreeWithOpenMP(16) << std::endl;
std::cout << std::endl << nbAdditifWithSommeOpenMp(16) << std::endl;
int32_t compteur_somme_sans_arbre = compteur_somme;
compteur_somme = 0;
......
......@@ -49,7 +49,7 @@ clean:
$(RM) $(CLEAN)
rexe:
$(RM) *.exe
$(RM) *.exe
tree: suffixe_tree.cpp
$(BIB)
......@@ -60,6 +60,9 @@ tree2: SuffixTree.cpp
main: main.cpp $(OBJETS)
$(G) -g $(OPEN) $< -L. -lsais -o $@ $(OBJETS)
main_opti: main.cpp $(OBJETS)
$(G) -O3 -g $(OPEN) $< -L. -lsais -o $@ $(OBJETS)
testSais: testSais.cpp $(OBJETS)
$(G) $(OPEN) $< -L. -lsais -o $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment