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
When profiled on Snowden, the Revit addin currently spends 57% of its time hashing mesh data to check for instances. Most of this 57% is in the serialization of the mesh data prior to calculating the hash. This can be optimized.
A simple optimization would be to initially check for the same number of vertices prior to expensive serialization. Other quick tests such as normalized bounding-box ratios might be possible.
It might also be possible to skip mesh-data hashing altogether. The System property of a FamilyInstance looks similar to a shared mesh across instances:
The text was updated successfully, but these errors were encountered:
When profiled on Snowden, the Revit addin currently spends 57% of its time hashing mesh data to check for instances. Most of this 57% is in the serialization of the mesh data prior to calculating the hash. This can be optimized.
A simple optimization would be to initially check for the same number of vertices prior to expensive serialization. Other quick tests such as normalized bounding-box ratios might be possible.
It might also be possible to skip mesh-data hashing altogether. The System property of a FamilyInstance looks similar to a shared mesh across instances:
The text was updated successfully, but these errors were encountered: