Diffusion Krita f83ba6560e62

Avoid QVector<T> in fast color (De-)Linearization

Authored by mwein on Apr 21 2020, 10:42 AM.

Description

Avoid QVector<T> in fast color (De-)Linearization

Constructing a QVector is expensive, so expensive that it was
actually slower than the non-fast versions.
It ranked pretty high in perf and removing it improved HSY'->RGB
conversion times quite a bit.

Details

Committed
mweinMay 1 2020, 9:05 PM
Parents
R37:6a660c25f683: Fix HSY selector modes
Branches
Unknown
Tags
Unknown
References
refs/keep-around/f83ba6560e62be58502b085a281ec8b4dc670a7d