[geos-devel] JTS/GEOS performance - smart-ptr vs ref counting
    Norman Vine 
    nhv at cape.com
       
    Mon Jan 31 19:54:46 EST 2005
    
    
  
Martin Davis writes:
>
> It's just occurred to me that a classic issue with ref-counting is being
> able to handle self-referential data structures.  Some of the data
> structures in JTS/GEOS are inherently self-referential (e.g. topology
> graphs).  Is there a standard pattern for coping with this kind of
> problem?
The standard method of using ref/smartpointers works just fine :-)
Norman
    
    
More information about the geos-devel
mailing list