Twice as fast! You might be able to get interactive dragging working with this.
im on a phone, but will look into it later, thanks!
if you want to open an issue in the repo to work on porting this to the lib for actual apples-to-apples comparison, that would be cool, too :)
I added code for gaps. The tight loop isn't disrupted that much; the number of interruptions is bounded by the x resolution.
added a placeholder issue https://github.com/leeoniya/uPlot/issues/15