• David Schnur's avatar
    Break text styles into their own cache tier. · a2dd0645
    David Schnur authored
    Previously the cache was divided only by layer, with entries keyed on a
    string built from the text and style.  Now the style has its own tier in
    the cache, i.e. layers > styles > text > info.
    
    This introduces some complexity, since the nested for loops are ugly,
    but at the same time we avoid having to create the cache-key strings.
    More importantly it solves the problem of uniqueness that exists when we
    try to join strings that may contain arbitrary text.  It also allows a
    further optimization in the canvas plugin, which can now set text style
    and color just once per distinct style, instead of with every string.
    a2dd0645
Name
Last commit
Last update
examples Loading commit data...
.gitignore Loading commit data...
API.md Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
NEWS.md Loading commit data...
PLUGINS.md Loading commit data...
README.md Loading commit data...
component.json Loading commit data...
excanvas.js Loading commit data...
excanvas.min.js Loading commit data...
flot.jquery.json Loading commit data...
jquery.colorhelpers.js Loading commit data...
jquery.flot.canvas.js Loading commit data...
jquery.flot.categories.js Loading commit data...
jquery.flot.crosshair.js Loading commit data...
jquery.flot.errorbars.js Loading commit data...
jquery.flot.fillbetween.js Loading commit data...
jquery.flot.image.js Loading commit data...
jquery.flot.js Loading commit data...
jquery.flot.navigate.js Loading commit data...
jquery.flot.pie.js Loading commit data...
jquery.flot.resize.js Loading commit data...
jquery.flot.selection.js Loading commit data...
jquery.flot.stack.js Loading commit data...
jquery.flot.symbol.js Loading commit data...
jquery.flot.threshold.js Loading commit data...
jquery.flot.time.js Loading commit data...
jquery.js Loading commit data...