You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Linear visualizer, when is_loop = 1, the complexity of positioning LEDs around the ring becomes O(n^2), with n being the number of LEDs.
I noticed this while profiling CC.NET when I happened to have a Linear visualizer running with 720 LEDs in this mode. The code is functionally identical:
In the Linear visualizer, when
is_loop = 1
, the complexity of positioning LEDs around the ring becomes O(n^2), with n being the number of LEDs.I noticed this while profiling CC.NET when I happened to have a Linear visualizer running with 720 LEDs in this mode. The code is functionally identical:
Location of this loop in ColorChord: https://github.com/cnlohr/colorchord/blob/master/colorchord2/OutputLinear.c#L142-L147
If I get around to fixing it in CC.NET first, I'll let you know or open a PR with a fix. Likewise, if you end up fixing it here first, LMK.
The text was updated successfully, but these errors were encountered: