Frits van Bommel wrote: > torhu wrote: >> >> Whoops, can anyone spot the bug? When I fixed it, the time it took to >> run my test went down from about 23 to about 3 seconds. > > I'm guessing the fact that sizeof(buf) != 1000 ? I think you were the first to post. Go buy yourself a lollipop, you've earned it.