[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Counting words, fast!
From: |
Jesse Hathaway |
Subject: |
Re: Counting words, fast! |
Date: |
Wed, 17 Mar 2021 10:58:47 -0500 |
On Wed, Mar 17, 2021 at 10:50 AM Dennis Williamson
<dennistwilliamson@gmail.com> wrote:
> Did you try smaller blocks? I didn't see any difference above 4K. Did you
> verify that the counts are correct? Your code is a little different than mine
> and may fix the count issue I was having.
I did try smaller blocks, but like you I didn't see any difference, I
decided to just
go with 64K, since that was the highest amount given by the constraints.
With the code I sent the counts did match when I ran:
./optimized.bash <kjvbible_x10.txt | python3 normalize.py >output.txt
- Counting words, fast!, Jesse Hathaway, 2021/03/16
- Re: Counting words, fast!, Leonid Isaev (ifax), 2021/03/16
- Re: Counting words, fast!, Greg Wooledge, 2021/03/16
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/16
- Re: Counting words, fast!, Dennis Williamson, 2021/03/16
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/17
- Re: Counting words, fast!, Dennis Williamson, 2021/03/17
- Re: Counting words, fast!,
Jesse Hathaway <=
- Re: Counting words, fast!, Greg Wooledge, 2021/03/17
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/17
Re: Counting words, fast!, Koichi Murase, 2021/03/19
- Re: Counting words, fast!, Dennis Williamson, 2021/03/19
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/19
- Re: Counting words, fast!, Koichi Murase, 2021/03/19
- Re: Counting words, fast!, Koichi Murase, 2021/03/19
- Re: Counting words, fast!, Lawrence Velázquez, 2021/03/20
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/22