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
Right now it is very expensive to talk about relative objects, because each time we call
topology.blocks
we are generating a dictionary of the block attribute in every single vertex, and testing to see if it has an index value. The same is true for bands and snaps.
The current arrangement is optimized for talking about a relative object in the context of a logical object - such as "this vertex's block" or "the bands associated with this edge". But if we want to get information about a vertex (such as a Node) based on a relative object's attribute (like a block index), it only makes since to do it with a single topology.blocks call. Doing that call repeatedly is very inefficient.
Unfortunately, we can't just store the relative objects by the attribute we want to search by, since it may or may not have that value assigned. For example, a block may not have an index assigned to it if we are not wanting to display it, or during the process of reordering blocks.
The text was updated successfully, but these errors were encountered:
Right now it is very expensive to talk about relative objects, because each time we call
we are generating a dictionary of the block attribute in every single vertex, and testing to see if it has an index value. The same is true for bands and snaps.
The current arrangement is optimized for talking about a relative object in the context of a logical object - such as "this vertex's block" or "the bands associated with this edge". But if we want to get information about a vertex (such as a Node) based on a relative object's attribute (like a block index), it only makes since to do it with a single topology.blocks call. Doing that call repeatedly is very inefficient.
Unfortunately, we can't just store the relative objects by the attribute we want to search by, since it may or may not have that value assigned. For example, a block may not have an index assigned to it if we are not wanting to display it, or during the process of reordering blocks.
The text was updated successfully, but these errors were encountered: