No, not if it's done right. It would only affect code that
uses references. It would mean however that there are more
ways to screw up in the code (modifying shared Octstrs being
the prime candidate).

Regards
  Jörg

-----Original Message-----
From: Stipe Tolj
Cc: '''[EMAIL PROTECTED]' ' '
Sent: 12/12/01 3:49 PM
Subject: Re: Ref-Counted octstr

Aarno Syvänen schrieb:
> 
> Jörg Pommnitz wrote:
> >
> > Currently we often do a octstr_duplicate instead of the
> > octstr_get_ref in my made up example. This is simplified
> > but the pattern occurs quite often...
> 
> Yeah, octstr_get_ref would be nice. Forget my email: I think
> about another type of unneeded octstr_duplicate.

I'm not into deep here, but would a major change have any global
impacts?

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to