Re: CLI spinner processing
| From: | Per Jessen | Date: | Wed, 14 Nov 2007 09:08:03 +0000 |
| Subject: | Re: CLI spinner processing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264481@lists.php.net to get a copy of this message | ||
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