Is using Clone() a bad programming practice if doing on heavily loaded objects?

Posted by user301292 on Stack Overflow See other posts from Stack Overflow or by user301292
Published on 2010-03-25T14:30:55Z Indexed on 2010/03/25 14:33 UTC
Read the original article Hit count: 265

Filed under:
|

We have a class that is more like a template (with lot of properties and overridden methods). I need to make many objects of that class type. Can I use clone() to create objects with specific settings if I have one object created? I know I need to override the Clone method. Is the performance going to take a hit by using Clone()?

© Stack Overflow or respective owner

Related posts about clone

Related posts about Performance