[REBOL] Re: byte frequencies
From: joel:neely:fedex at: 6-Jul-2001 13:38
Jeff Kreis wrote:
> If you assume that NULL chars in your files are infrequent you
> can just use a 1-based index.
It is not an option simply to ignore some character values.
> If you're handling very large files you'd want to use:
> fi: open/binary/direct fi
> while [ch: pick fi 1][
> fi: next fi
> That will be much faster over some minimum size.
Perhaps I'll have a chance to do some benchmarking to get a clue
as to what qualifies as "some minimum size".
The purpose of computing is insight, not numbers!
- R. W. Hamming