Help for this page

Select Code to Download


  1. 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
    
  2. 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
    
  3. or download this
    #if defined(_OPENMP)
    #include <omp.h>
    ...
       );
    #endif
    }