- or download this
clang++ -o llil4vec -std=c++11 -Wall -O3 llil4vec.cpp
clang++ -o llil4vec -std=c++20 -Wall -O3 llil4vec.cpp # faster
...
# enable parallel via -fopenmp
clang++ -o llil4vec-omp -std=c++11 -fopenmp -Wall -O3 llil4vec.cpp
clang++ -o llil4vec-omp -std=c++20 -fopenmp -Wall -O3 llil4vec.cpp #
+faster
- or download this
$ time ./llil4vec big1.txt big2.txt big3.txt >out.txt
...
std:c++11: 2.308 secs
std:c++20: 2.267 secs
- or download this
#if defined(_OPENMP)
#include <omp.h>
...
);
#endif
}