melatonin_audio_sparklines icon indicating copy to clipboard operation
melatonin_audio_sparklines copied to clipboard

When block has large number of samples (10k+) things start to get sluggish

Open sudara opened this issue 4 years ago • 2 comments

Perhaps we can conditionally create the min/max and children.

Otherwise things get a bit unfriendly and take a few too many seconds:

evaluating

sudara avatar Jun 23 '21 13:06 sudara

min/max might be better resolved via CreateValueFromExpression, calling . findMinAndMax

sudara avatar Jun 23 '21 14:06 sudara

Should probably also just set a hard limit (4096) for channel children and the sparkline creation.

sudara avatar Jun 23 '21 14:06 sudara