Jonathan Scott Duff wrote:
> > Ok, how about this:  Is there a reason I<not> to?  Or 
> > should I not go there?
> 
> Off hand, it sounds expensive. I don't see a way to only let 
> the people who use it incur the penalty, but my vision isn't
> the best in the world.

It should be possible to define the bookmark methods on the basic string
class to rebless the object onto a more powerful subclass. This way, there
is no overhead until the extra information is actually attached. (bless, not
copy, because there may be other references to the string).

Dave.

Reply via email to