timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

`ColorList` just got a lot slower! #25

Closed rec closed 8 years ago

rec commented 8 years ago

Before:

scale

func:    0.15149101498536766
classic: 0.2943497580126859
triples: 0.21555637900019065
tdsp:    0.002226016978966072

gamma

classic:       0.3122951659897808
classic table: 0.32734914202592336
triples:       0.2540163100056816
tdsp:          0.019840502995066345

after

scale

func:    0.14753976499196142
classic: 0.2886141059861984
triples: 0.21511584901600145
tdsp:    0.003492541000014171

gamma

classic:       0.31099800701485947
classic table: 0.3354203460039571
triples:       0.24277108299429528
tdsp:          0.07095414600917138
rec commented 8 years ago

(just checked by reverting that the original figures are basically correct two commits ago, https://github.com/rec/tdsp/commit/20d7747bddc2111fde92dfcb9817d2388de63716

Clearly an issue with the new operator mechanism. Developing...