On Mon, Feb 10, 2020 at 07:21:30AM -0800, Aaron Jensen wrote: > On Sun, Feb 9, 2020 at 11:44 PM Alan Third wrote: > > > > Anyway, one last thing to try. I was reading up on how MacVim handled > > this same issue, and while their drawing techniques are quite > > different, they did find performance problems with CGLayers so > > switched to using CGImages. I’ve given that a go and I don’t think > > this patch is quite as fast here as the CGLayer one, but it may be > > faster for you. > > 9.6s, which is around what 26 macport is, twice as slow as 27, but > about 1/4 the time it took with previous versions of 28. It also > doesn't seem to slow down too much (12.8) when I go full width. It's > still usable, for sure. > > No artifacts here as well, so I'd say this is a winner, at least for me. > > Thank you for figuring something out. I’m happy we’ve got to something usable at last! New patch attached, it’s basically the same as the last one but cleaned up and with a proper commit message. It’s not as fast as Emacs 26 and 27, but shouldn’t have any of the visual glitching we’ve seen in that codebase and is hopefully Fast Enough. I don’t think anyone’s likely to complain, but I’ll leave it a few days before I push to master. Thanks everyone for your help. -- Alan Third