Commit Graph
6 Commits
Author SHA1 Message Date
4DBug 5a01abb50a LineStripRange / MarkersFillRange / MarkersLineRange: inline any getter (read through Get, plain arrays still read directly) and per-index colours, not only two plain arrays with one colour (RangeSource replaces PlainXY; same math) (demo, lib lowq: Subplots 6.0 -> 4.3 ms with the locator memo, Tools 3.7 -> 3.1, Custom 1.9 -> 1.7; draw data unchanged) 2026-10-21 02:55:34 -05:00
4DBug bf4240df68 Locator_Default: restore the previous call's ticks when nothing that feeds it changed (no other ticks on the ticker, same range / pixels / orientation / Formatter_Default format / font + size) instead of formatting and measuring every label again; any AddTick invalidates (bench implot scene lib 0.70 -> 0.65 ms; draw data unchanged, also with frame-varying range, size, format, custom ticks, font size and tags) 2026-10-21 02:50:11 -05:00
4DBug 9ab86c1910 Range renderers for heatmaps and shaded plots, per-index colours in LineStripRange, plain arrays read directly in the histogram loops: HeatmapRange (HeatmapRender + LerpTable + transforms + PrimRectFill inlined), ShadedRange (ShadedRender + XYGet + transforms + GetCol inlined), PlainData() for ImMinMaxIndexer / PlotHistogram / PlotHistogram2D / heatmap values, same math (demo Plots tab lib 13.5 -> 9.3 ms: Histogram 2D 3.6 -> 1.4, Heatmaps 1.9 -> 0.8 ms; draw data unchanged, all demo tab hashes + bench implot hash identical) 2026-10-21 02:41:11 -05:00
4DBug ebfb83a64e @native on the indexers (IdxAt0-3, LinAt, ConstAt), getters (XYGet, OverrideX/YGet, LoopGet, XYZGet), fitters (Fitter1/X/Y, ExtendFit/ExtendFitWith), ImMinMaxIndexer, ImStdDev, PlotHistogram, PlotHistogram2D and LerpTable: the per-point paths no longer drop to the interpreter (demo Plots tab, all headers open: lib 17.6 -> 13.5 ms; Histogram 2D 8.6 -> 3.6 ms, Heatmaps 3.1 -> 1.9 ms; draw data unchanged) 2026-10-21 02:40:57 -05:00
4DBug 861032a7a4 BeginPlot: resolve the cached axis colours once per plot (X1) and copy them to the other five axes instead of resolving the auto colour chain per axis (bench implot scene, items stubbed: 0.457 -> 0.422 ms; draw data unchanged) 2026-10-21 02:26:50 -05:00
4DBug 0e22edaea2 LÖVE port: love/ (generated by tools/love.sh), marked linguist-generated; submodule URLs -> GitHub 2026-10-17 13:15:46 -05:00