Re: [Gimp-user] python-fu vs script-fu



As you haven't provided a link to Akkana's script, we have no way to compare if the scripts are even remotely 
similar.

My experience with writing a script in Scheme, then converting it to Python was that it runs considerably 
faster in Python, so I think it's as Ofnuts says, it's entirely dependent on what you are trying to do.

Kevin 

________________________________________
From: gimp-user-list <gimp-user-list-bounces gnome org> on behalf of ugajin talktalk net <ugajin talktalk net>
Sent: 22 March 2016 19:04
To: ofnuts gmx com; gimp-user-list gnome org
Subject: Re: [Gimp-user] python-fu vs script-fu

I don't see the difference to be about efficiency. There is noticeable
lag when executing python-fu.

E.g., when I run Akkana Peck's show_py_ui.py plugin, and compare this
with GIMP.org's test-sphere.scm script there is a big difference in
performance up to launcing the UI. I note show_py_ui.py is a smaller
file size, 3kb compared to test-sphere.scm's 6kb (12kb inc comments).

Is it just me on pre-build OSX?

Thanks.

-u


----Original Message----
From: ofnuts gmx com
Date: 22/03/2016 16:34
To: <gimp-user-list gnome org>
Subj: Re: [Gimp-user] python-fu vs script-fu

On 22/03/16 12:27, ugajin talktalk net wrote:
Is there a known performance issue for python-fu compared with
script-
fu?

I have a pair of comparable scripts, and I find python-fu to be
noticeably lagged.

I am running 2.8.16 on OSX.

-u


A script is normally just glue around operations carried out by Gimp,
so
the efficiency of the script language is normally fairly irrelevant.

But different scripts could be using different operations for
equivalent
results, one set of operations being more efficient...
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list

List archives:   https://mail.gnome.org/archives/gimp-user-list



_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]