News for hackers. Stuff that matters.
Re:“Clean” Code, Horrible Performance by gyy52380 on Wednesday March 01, 2023 @04:32AM (#34980407)
There is only one vtable object per base class; all shapes share the same vtable pointer and your virtual CornerCount would be shared across all Shape instances. You are describing a potential implementation for class static variables.

There are no comments on this comment yet.