Help for this page

Select Code to Download


  1. or download this
    // tdriver.cpp
    
    ...
    
       return 0;
    }
    
  2. or download this
    ~/myabseil$ git clone https://github.com/martinus/unordered_dense
    
  3. or download this
    clang++ -o tdriver -std=c++20 -Wall -O3 -I "$HOME/local-parallel-hashm
    +ap/parallel-hashmap" -I "$HOME/local-boost/boost_1_81_0"  -I "$HOME/m
    +yabseil/unordered_dense/include" tdriver.cpp
    
  4. or download this
    $ ./tdriver big1.txt big2.txt big3.txt big4.txt big5.txt big6.txt >f.t
    +mp
    $ cmp f.tmp good.tmp
    
  5. or download this
    perl gen-llil.pl big1.txt 200 3 1
    perl gen-llil.pl big2.txt 200 3 1
    ...
    
  6. or download this
    perl shuffle.pl big1.txt >tmp && mv tmp big1.txt
    perl shuffle.pl big2.txt >tmp && mv tmp big2.txt
    ...
    
  7. or download this
    $ ./tdriver big1.txt big2.txt big3.txt big4.txt big5.txt big6.txt >f.t
    +mp
    tdriver (fixed string length=6) start
    ...
    big5.txt: nlines=3515200 (0.866 seconds)
    big6.txt: nlines=3515200 (0.772 seconds)
    $ cmp f.tmp good.tmp
    
  8. or download this
    SET (CMAKE_C_FLAGS_INIT                "-Wall -std=c11")
    SET (CMAKE_C_FLAGS_DEBUG_INIT          "-g")
    ...
    SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT     "-Os -DNDEBUG")
    SET (CMAKE_CXX_FLAGS_RELEASE_INIT        "-O3 -DNDEBUG")
    SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
    
  9. or download this
    $ export CC=/usr/bin/clang
    $ export CXX=/usr/bin/clang++
    
  10. or download this
    cmake_minimum_required(VERSION 3.10)
    
    ...
       absl::algorithm_container
       absl::memory
    )
    
  11. or download this
    $ cd $HOME/myabseil
    $ mkdir build
    $ cd build
    $ cmake -DCMAKE_USER_MAKE_RULES_OVERRIDE=~/ClangOverrides.txt -DCMAKE_
    +BUILD_TYPE=Release ..
    
  12. or download this
    make VERBOSE=1 2>&1 | tee makebuild.tmp
    
  13. or download this
    // tdriver.cc
    
    ...
    
       return 0;
    }
    
  14. or download this
    $ ./tdriver big1.txt big2.txt big3.txt big4.txt big5.txt big6.txt >f.t
    +mp
    tdriver (fixed string length=6) start
    ...
    big5.txt: nlines=3515200 (1.057 seconds)
    big6.txt: nlines=3515200 (0.820 seconds)
    $ cmp f.tmp good.tmp