enhance performance of color mapping#14556
Conversation
|
Due to string operations the current code path for color mapping is not really efficient. Code: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## branch-3.8 #14556 +/- ##
=============================================
Coverage ? 93.28%
=============================================
Files ? 285
Lines ? 20260
Branches ? 0
=============================================
Hits ? 18899
Misses ? 1361
Partials ? 0 🚀 New features to boost your workflow:
|
|
The main reason for that existing approach is to preserve color values as much as possible in the output, e.g. for SVG backend. But I think performance is more important in the case of color mapping than other concerns. |
Agree! |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |




Uh oh!
There was an error while loading. Please reload this page.