Re: CLI spinner processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daevid Vincent wrote:

> I am importing millions of records, and didn't want to waste CPU time
> on  computing modulus on some huge $i value. :)

So instead you spend it on displaying a progress indicator :-)

besides, modulus 8 is done by one single instruction - of which a modern
processor does some three billion per second. 



/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux