RE: [PHP] CLI spinner processing

2007-11-15 Thread Per Jessen
Daevid Vincent wrote: Plus it looks freakin' slick as hell and gives the appearance that I am smarter than I am. *grin* Definitely a point worth making :-) besides, modulus 8 is done by one single instruction - of which a modern processor does some three billion per second. Perhaps. But

Re: [PHP] CLI spinner processing

2007-11-14 Thread Per Jessen
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

RE: [PHP] CLI spinner processing

2007-11-14 Thread Daevid Vincent
-Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 1:08 AM 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