Skip to main content

toString() cost

Posted by staufferjames on August 24, 2007 at 6:56 AM PDT

Do you assume that toString() on any given object has a low cost? I do. Is that assumption generally valid? If it has a high cost should that normally be changed? What are valid reasons to make a toString() method with a high cost?

Related Topics >>