You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking at display events I noticed some potential improvements
PlacementInfo and its results (tab/group/alternates) could be reused since they don't change when created from a string source
ShapeDescriptor uses collections that might be empty. Check if we can lazy-load them. Note that they should be already reused across tenants so maybe it's not much gain at least for the cost of instantiation, not memory usage which would still be gained.
Alternate collections like the ones for content parts in ContentPartDisplayDriver<TPart> should remain constant across usages. Maybe these could be cached per part. Or at least used as an immutable collection such that other parts of the code can be based on it. Another option is to have a list of collections so one can be reused while others can be added dynamically.
The text was updated successfully, but these errors were encountered:
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
While looking at display events I noticed some potential improvements
PlacementInfo
and its results (tab/group/alternates) could be reused since they don't change when created from a string sourceShapeDescriptor
uses collections that might be empty. Check if we can lazy-load them. Note that they should be already reused across tenants so maybe it's not much gain at least for the cost of instantiation, not memory usage which would still be gained.ContentPartDisplayDriver<TPart>
should remain constant across usages. Maybe these could be cached per part. Or at least used as an immutable collection such that other parts of the code can be based on it. Another option is to have a list of collections so one can be reused while others can be added dynamically.The text was updated successfully, but these errors were encountered: