At 06:37 PM 6/21/04 -0800, John Andersen wrote:
> Why are you abusing pipes like that?  sa-learn can accept filenames, no
> need to pipe things to it.
>
> sa-learn -spam spam.txt

Abuse?  Abuse?!!

Why are you mistakeing someone's deviation from your OPINION on how to do
things for abuse?

When the other person's opinion involves waste of memory and reduces I/O speed and flexibility on an operation they consider too slow, yes, I do in fact call that abuse.


Remember, abuse also means misuse (do the etymology sometime)

It's clear to me that someone who's complaining about how slow sa-learn is running who allows the cat and pipe operators to slow sa-learn down even further is not using their system resources properly.

But of course, that's merely my opinion on the matter. Don't like it? Feel free to have your own opinions, but in the meantime, do look at the facts of how I/O works. cating files to stdin is not as flexible and is generally much slower and uses more memory than direct file reads due to having to do an extra kernel-to-userspace context switch and two extra file-handles with buffering.















Reply via email to