Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env python
    # time NUM_THREADS=3 python pcount2.py big
    ...
    
    count = parallel_read(sys.argv[1])
    print(f"Found {count} matches.")
    
  2. or download this
    Found 1999533 matches.
    
    ...
    7: 0.423s
    8: 0.375s
    9: 0.339s