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.
>
> Perhap
> -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 spen
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 s
Check out this cool little snippet for use in CLI scripts. It shows processing
with a spinner. It took me a little while to figure out the magic combination
of the cursor array and ternary operator. My main goal was to make it as self
contained and efficient as possible. I am importing millions
4 matches
Mail list logo