JosephCottam / AbstractRendering

Bin-based rendering...for the win!
Other
52 stars 6 forks source link

Faster Loads from hbin files #15

Closed JosephCottam closed 11 years ago

JosephCottam commented 11 years ago

The longest part of hbin loading is determining the glyph bounds for zoom-extent. Until that happens, no work appears to be done. Generally, this requires iterating the entire file for the min/max of the columns that the x/y are derived from.

Options: 1) Do sample-based estimation of min/max 2) Put min/max values in the header 3) Assume the data is projected in 0-1 range and zoom accordingly

1 -- Only works if the distribution of values is ammenable 2 -- Only works if the glypher layout puts the min value at the min location 3 -- Arbitrary, but common default

JosephCottam commented 11 years ago

Faster loads only occur if the shaper tags itself as safe for approximate bounds.