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
The Geometry, Cell, Universe, and Material (maybe others too) use a memoization to accelerate searches for contained cells, universe, materials, etc. As a result, there is a lot of repeated code related to managing the memo object throughout. I believe a decorator for the relevant methods could be used to reduce the boilerplate involved w/ these calls.
Alternatives
Leave it alone
Compatibility
No compatibility issues w/ this change.
The text was updated successfully, but these errors were encountered:
Description
The
Geometry
,Cell
,Universe
, andMaterial
(maybe others too) use a memoization to accelerate searches for contained cells, universe, materials, etc. As a result, there is a lot of repeated code related to managing the memo object throughout. I believe a decorator for the relevant methods could be used to reduce the boilerplate involved w/ these calls.Alternatives
Leave it alone
Compatibility
No compatibility issues w/ this change.
The text was updated successfully, but these errors were encountered: