On Wed, Oct 17, 2001 at 08:48:08AM -0400, Benjamin Scott <[EMAIL PROTECTED]> wrote:
> > for ($x = 0; $i <= 5000; $x++) {}
> 
>   A good compiler will optimize that right out of existence.  :-)

    Yep, but I suppose that's not going to be the case with perl.
A much better construct is to use sleep() or usleep() to actually wait
for a processor and compiler independent amount of time.

-- 
Bob Bell <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
 "The obvious mathematical breakthrough [to break modern encryption]
  would be development of an easy way to factor large prime numbers."
   -- Bill Gates from "The Road Ahead," p. 265.

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to