On Mon, Mar 18, 2002 at 01:38:08PM +0100, Guillaume Cottenceau wrote:
> It is a sensible default behaviour.

Okay excuse me I misread your code.  You've written a function called
cat_ that opens the file and reads it.

> "-t" option is meant for having reasonable speed when you use it
> often but you need to periodically update your source.

If you've read my previous emails I was already using that.  It's still
dog slow.

a time of my code returns:
0.38u 0.03s 0:00.37 110.8%

a time of your code returns:
485 genius:~/public_html/ben.reser.org/mandrake/rpmmon # time rpmmon.pl
-p openssh -t maints
florin
3.65u 1.98s 0:08.26 68.1%

8 seconds just to parse a simple file.  And that is using -t as you can
see.

My code is available at:
http://ben.reser.org/mandrake/rpmmon/rpmmon.cgi.perl

If you care...

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

What difference does it make to the dead, the orphans, and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty and democracy? - Ghandi

Reply via email to