Changes between Initial Version and Version 1 of Ticket #30307, comment 51


Ignore:
Timestamp:
01/30/21 09:46:09 (16 months ago)
Author:
gh-mjungmath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30307, comment 51

    initial v1  
    1 Replying to [comment:49 tscrim]:
    2 > You're passing around a pointer to the ring in a lot of the elements, which is storage. Since I doubt the ring will change much, I don't think you gain much.
    3 
    4 Changing the base ring is not so unusual when we talk about free modules, I suppose. In the manifold setting, the base field rarely changes, yes.
    5 
    6 > Plus you have to pass more around, which makes maintenance harder and can come with performance impacts.
    7 
    8 We pass around even less. The base ring is stored in the element, where it is used, and the element doesn't have to ask his parent for the ring (which could slightly slow down things, I suppose). Besides, why should the parent has an attribute it doesn't ever use? And maintenance is even easier I'd say because each class is devoted to only it's job and doesn't carry unnecessary data to fulfill its purpose (changes in the parent's behavior related to the ring doesn't cause malfunctions in the element and vice-versa).
    9 
    10 If you meant it differently, please elaborate. :)