Posts: 117
Threads: 15
Joined: Jan 2019
Reputation:
9
Operating system(s):
Gimp version: 2.10
Wow, nice catch!
Looks like the accuracy of of the algorithm isn't a problem any longer.
Posts: 6,390
Threads: 278
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
So, I did some optimizations. The LED font path had its execution time divided by 10 and its memory usage by... 100 (it gobbled up almost two GB creating one channel per stroke (ie, per LED light).
Posts: 117
Threads: 15
Joined: Jan 2019
Reputation:
9
Operating system(s):
Gimp version: 2.10
I threw that LED font in there as it seemed like an extreme case. I was thinking more about how many overlaps it had and the complexity of it, but never thought about the performance implications. Glad you are wrangling it into submission.
Posts: 28
Threads: 5
Joined: Oct 2016
Reputation:
1
Operating system(s):
Gimp version: 2.10
05-15-2020, 08:05 PM
(This post was last modified: 05-15-2020, 08:13 PM by mahvin.)
And to think, akovia, your project ends up blessing the entire GIMP Kingdom. Most of us see intersecting loops and end up doing this one letter at a time, and NOW we'll never have to do that again, ever! Many thanks for your presenting the problem so everyone else benefitted. And many MORE thanks to the brilliant mind of Ofnuts!
P.S. My mother has a smooth forehead and my ancestors were cowards, but I get to use the script! BTW, Ofnuts, do you speak Klingon?