3 ms·
interesting. it looks less accurate tho. also, i cannot use this without supporting data gaps and sparse data. it could be worse when you get it to do everythin
by leeoniya 7y ago
interesting. it looks less accurate tho. also, i cannot use this without supporting data gaps and sparse data. it could be worse when you get it to do everything it needs to without just having this case be a dedicated additional code path. once your neat uniform loops start branching, perf usually takes a nose dive.
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 :)
- 1wheel 7y agoThe column version looks like it has less detail along the top of the plot, but I think that's a rendering bug with the moveTo version: there aren't any data points above 1. 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 https://github.com/leeoniya/uPlot/issues/15
- leeoniya 7y agoawesome, thanks!