save dictionary to a file without brackets.

Oscar Benjamin oscar.j.benjamin at gmail.com
Thu Aug 9 20:03:26 EDT 2012


On Aug 10, 2012 12:34 AM, "Giuseppe Amatulli" <giuseppe.amatulli at gmail.com>
wrote:
>
> Ciao,
> is 12 minutes for 5000x5000 pixel image. half of the time is for
> reading the arrays.
> and the other half for making the loop.
> I will try again to incorporate the mask action in the loop
> and
> read the image line by line.
> Thanks
> ciao

That does seem slow. I'm sure it can be a lot faster than that.

Did you also write the code for reading the arrays? The loop can certainly
be made faster but if you can't make the array reading faster there's not
much point spending a long time trying to speed up the rest.

Oscar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120810/a55c57b6/attachment.html>


More information about the Python-list mailing list