JuliaGraphics / ColorTypes.jl

Basic color definitions and traits
Other
77 stars 35 forks source link

Simplify the 0-arg constructor and constructor-like functions #265

Closed kimikage closed 2 years ago

kimikage commented 2 years ago

PR #197 made it unnecessary to use base_colorant_type (via mapc) in some cases. This does not help to improve run-time performance, though.

codecov[bot] commented 2 years ago

Codecov Report

Merging #265 (4a30fc9) into master (8574435) will decrease coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
- Coverage   83.89%   83.83%   -0.07%     
==========================================
  Files           8        8              
  Lines         739      730       -9     
==========================================
- Hits          620      612       -8     
+ Misses        119      118       -1     
Impacted Files Coverage Δ
src/operations.jl 98.49% <100.00%> (ø)
src/traits.jl 98.88% <100.00%> (-0.03%) :arrow_down:
src/types.jl 97.17% <100.00%> (+0.47%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8574435...4a30fc9. Read the comment docs.