plottable icon indicating copy to clipboard operation
plottable copied to clipboard

Plottable EntityStore is being recomputed on every entities()-like call

Open hellochar opened this issue 7 years ago • 1 comments

Calling e.g. entitiesInXBounds() multiple times causes multiple EntityStore.addAll() calls. It should produce the entities only once and save them off.

hellochar avatar Oct 04 '17 20:10 hellochar

it's more relevant to discuss when the cache is invalidated. one cause of too-frequent cache invalidation is calling computeLayout, which is, e.g., invoked by redraw

themadcreator avatar Oct 05 '17 21:10 themadcreator