I have been at the GIMP IRC channel and they told me that C is faster than 
Python if I want many pixel ops. I wrote a test plugin in Python which copies a 
layer pixel per pixel to another one and it needs several minutes for a vga 
picture.
I put it here:
http://pastebin.com/m1e61c74a

Regards
Samuel


Hi,

On Mon, 2008-09-29 at 11:35 +0200, Samuel wrote:

> > I got, what I wanted (pixel ops), but I found out that it's too slow.
> > I'll try to write in C now.
>   

Pixel operations in Python, if done correctly, are not very much slower
than doing the same in C.

But please keep this discussion on the mailing-list. I am not going to
reply to further mails unless you move this discussion back to the list.


Sven




_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to