Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    # time NUM_THREADS=3 perl pcount.pl big
    ...
    $mce->shutdown;
    
    print "Found $count matches.\n";
    
  2. or download this
    Found 1999533 matches.
    
    ...
    7: 0.680s
    8: 0.600s
    9: 0.538s
    
  3. or download this
    #!/usr/bin/env python
    # time NUM_THREADS=3 python pcount.py big
    ...
        sys.exit(1)
    
    print(f"Found {sum(results)} matches.")
    
  4. or download this
    Found 1999533 matches.
    
    ...
    7: 1.172s
    8: 1.008s
    9: 0.995s