Thanks for the insights. wc is ok for me, counting takes at about 15 minutes
for the files, which is ok for me.
Now, just a gotcha, when I have to use awk to "crunch" these large files, it
returns an error. I just realized that in Ubuntu, awk refers to mawk. I have
to install gawk. Things are getting done now.

On Thu, Feb 19, 2009 at 1:04 AM, fooler mail <[email protected]> wrote:

> On Thu, Feb 19, 2009 at 12:46 AM, Roger Filomeno
> <[email protected]> wrote:
> > err.. using SSE http://snippets.dzone.com/posts/show/6312
>
> yup that is much faster than wc.c... SSE is using inline assembly code
> for i386 to speed up the searching method but suffers from portability
> to other architecutes while wc.c used read() and memchr() for
> portability reasons...
>
> fooler.
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to