Re: How do I use the unpack function?

2008-05-15 Thread Gary Herron
Marlin Rowley wrote: All: I've got a script that runs really slow because I'm reading from a stream a byte at a time: // TERRIBLE for y in range( height ): for color in range(4): for x in range( width ): pixelComponent = fileIO.read(4)

RE: How do I use the unpack function?

2008-05-15 Thread Marlin Rowley
-0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: python-list@python.org Subject: Re: How do I use the unpack function? Marlin Rowley wrote: All: I've got a script that runs really slow because I'm reading from a stream a byte at a time: // TERRIBLE for y in range( height

Re: How do I use the unpack function?

2008-05-15 Thread John Machin
On May 16, 2:11 am, Gary Herron [EMAIL PROTECTED] wrote: Marlin Rowley wrote: All: I've got a script that runs really slow because I'm reading from a stream a byte at a time: // TERRIBLE for y in range( height ): for color in range(4): for x in range( width ):

Re: How do I use the unpack function?

2008-05-15 Thread Gary Herron
2008 09:11:23 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: python-list@python.org Subject: Re: How do I use the unpack function? Marlin Rowley wrote: All: I've got a script that runs really slow because I'm reading from a stream a byte at a time: // TERRIBLE for y

RE: How do I use the unpack function?

2008-05-15 Thread Marlin Rowley
Date: Thu, 15 May 2008 09:11:23 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: python-list@python.org Subject: Re: How do I use the unpack function? Marlin Rowley wrote:All: I've got a script that runs really slow because I'm reading

Re: How do I use the unpack function?

2008-05-15 Thread Gary Herron
John Machin wrote: On May 16, 2:11 am, Gary Herron [EMAIL PROTECTED] wrote: Marlin Rowley wrote: All: I've got a script that runs really slow because I'm reading from a stream a byte at a time: // TERRIBLE for y in range( height ): for color in range(4):

RE: How do I use the unpack function?

2008-05-15 Thread Marlin Rowley
May 2008 10:09:45 -0700 From: [EMAIL PROTECTED] CC: python-list@python.org Subject: Re: How do I use the unpack function? John Machin wrote: On May 16, 2:11 am, Gary Herron [EMAIL PROTECTED] wrote: Marlin Rowley wrote: All: I've got a script that runs really slow

Re: How do I use the unpack function?

2008-05-15 Thread Gary Herron
: python-list@python.org Subject: Re: How do I use the unpack function? John Machin wrote: On May 16, 2:11 am, Gary Herron [EMAIL PROTECTED] wrote: Marlin Rowley wrote: All: I've got a script that runs really slow because I'm reading from a stream a byte at a time: // TERRIBLE

Re: How do I use the unpack function?

2008-05-15 Thread Gary Herron
: Re: How do I use the unpack function? Marlin Rowley wrote: Gary, I'm getting streaming tile data from a renderer in order to allow the user to see the rendering of tiles in real-time to create the total image. I'm NOT reading an entire image scanline-by-scanline. The renderer streams

RE: How do I use the unpack function?

2008-05-15 Thread Marlin Rowley
Thanks. I'll churn on this for awhile.. Date: Thu, 15 May 2008 16:00:03 -0700 From: [EMAIL PROTECTED] To: python-list@python.org Subject: Re: How do I use the unpack function? Marlin Rowley wrote: Hey Gary! Please keep such discussions on the public python-list -- not personal e-mail