Hi. I just wondered if non-static class members are allocated for each class or just allocated once and referenced for each class?
I just wondered if more functions generated more memory usage for each class.
Hi. I just wondered if non-static class members are allocated for each class or just allocated once and referenced for each class?
I just wondered if more functions generated more memory usage for each class.
class MEMBERs are created on a per-object basis. I think you meant methods though, in which case the implementation is held in the class object which is only created once as far as i know.
D.
Uh yeah. That’s what I meant 