colour: Reading 65^3 Iridas 3D LUT is incredibly slow.
First time using Colour. Trying to read loads of 65^3 .cube files in Jupyter notebook. It takes over 3 mins on the first one.
%time LUT = cs.io.read_LUT_IridasCube(luts[126])
CPU times: user 3min 20s, sys: 1.88 s, total: 3min 22s
Wall time: 3min 22s
to
table.append(tokens)
gives no difference to the result and computes faster
%time LUTfast = read_LUT_IridasCube(luts[126])
CPU times: user 633 ms, sys: 26.2 ms, total: 659 ms
Wall time: 661 ms
np.allclose(LUTfast.table, LUT.table)
True
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (11 by maintainers)
@lavrovd : @njwardhan’s PR #596 has been merged in the develop branch, so it should be up to full speed now! When you have a chance, let us know if it is fine, I’m assuming it is!