Open
Description
Caching solid color brushes gave large and visible speedups when testing with https://github.com/smmalis37/sudoku_rust. Given that, it's probably worthwhile to cache gradient brushes too. However, gradients are more complicated than a single color, and figuring out a good key for a cache for them may be tricky.