Under the proposed coding style guide, yes, although I highly doubt the size of RenderLayer really matters.
Do you mean your new rule is applicable only for performance
critical parts?
No, I'm saying that applying the proposed guideline wouldn't necessarily help memory usage cause RenderLayer is a really large object anyway.
It doesn't mean we shouldn't apply.
BTW, I don't like to idea adding a new rule, but keeping old
style code. It introduces divergence between the guideline and
actual code. Do we really need a new rule that one doesn't
necessary have to follow?
We should follow the proposed guideline in new code but we typically don't update existing code to match the new guideline when we introduce a new coding style guideline.
- R. Niwa