On Tue, 2021-05-25 at 12:00 +0200, Diederik van Lierop wrote:
On 24-05-2021 16:36, Ted Gould wrote:
I think that it is likely the first answer here is "port to GTK4" as they've entirely rewritten the OSX backend in GTK4, specifically targeting speed problems. There is also work on a Metal backend for GTK4.
Switching to GTK4 might also help with the problems I was facing with the objects and layers dialog; they would grind Inkscape to a halt on large documents. To improve the scalability, I added arrays referencing to each of the objects to allow for a quick look-up, but my implementation is not very clean nor robust. See https://blog.gtk.org/2020/06/07/scalable-lists-in-gtk-4/
This is interesting.
The objects dialog is currently under complete rewriting:
https://gitlab.com/inkscape/inkscape/-/merge_requests/2466
Myself and Thomas will be working on it more in about 5 weeks time. We'd be happy to have help, even if it's just code review.
Best Regards, Martin Owens