plottable
plottable copied to clipboard
Plottable EntityStore is being recomputed on every entities()-like call
Calling e.g. entitiesInXBounds() multiple times causes multiple EntityStore.addAll() calls. It should produce the entities only once and save them off.
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