Perf: Use lightweight entities instead of `PlotEntities` when possible #3145

Open
themadcreator opened this Issue Jan 5, 2017 · 1 comment

Projects

None yet

1 participant

@themadcreator
Collaborator

Plot's entities method does a couple linear time passes on the data. Notably, it uses _lightweightEntities then maps them to "heavyweight" PlotEntities, which as far as i can tell, just adds a d3 selection.

For perf, we should consider using lightweight entities when filtering, then convert to PlotEntitys as a post process.

@themadcreator
Collaborator

Alternate suggestion: more caching of these objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment