Here is the link: http://gimpbook.com/scripting/gimp-script-templates/pyui.py
>----Original Message---- >From: [email protected] >Date: 22/03/2016 19:51 >To: "[email protected]"<[email protected]> >Subj: 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 <[email protected]> on behalf of [email protected] <[email protected]> >Sent: 22 March 2016 19:04 >To: [email protected]; [email protected] >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: [email protected] >>Date: 22/03/2016 16:34 >>To: <[email protected]> >>Subj: Re: [Gimp-user] python-fu vs script-fu >> >>On 22/03/16 12:27, [email protected] 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: [email protected] >>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: [email protected] >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: [email protected] >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: [email protected] List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
