That'd be fantastic, thank you. ^^ I did swap over to using Neo for Cinnamon in the recent update, and most operations are located in the script for the card itself. There were some changes to Neo, which I documented here. One very noticeable slowdown occurs when moving and deleting layers, whereas I'm adding to the load by trying to refresh all of the patternshop contraptions using renderAll[] (Function to force an internal view[] event).
I got it just now - thank you again for looking into this on my behalf. I can only assume IJ was also deep in thought about any optimizations that could be done.
Nonetheless, your notes were insightful (There's probably some other things I can do to slim down the widgets...) and I'll be using your hack as a basis for 1.2 + My mobile cinnamon project (which might be evolving into a brand new subspecies of patternshop altogether). In fact, I already had your fonts downloaded and added to the new version before I saw your reply. :3
Woodring definitely deserves credit here. I took a somewhat different approach in my patches and added a few additional ideas of my own after some careful benchmarking, but Woodring's post made me realize I'd left significant low-hanging fruit in image.copy[] and image.paste[] (as well as a variety of places throughout Decker which rely on the same internal routines.) I think v1.72 will offer a significant boost to many existing projects.
Thanks to both of you for pushing the limits of the platform!
Done: https://codeberg.org/woodring/missooni.patternshop-cinnanom
Not directly related, but of note:
-
Added testing back to https://codeberg.org/woodring/decker.decker-xdc
-
It was stripped out before forking
lil.jsand it wasn’t needed it before, since it was the same as IJ’s -
Also, added three tests for comparing timing
tests/vector_stress.lil,tests/call_stress.lilandtests/dom/image_stress.jsand build a nodejsliltat the top level for the tests