[geos-devel] JTS/GEOS performance
Martin Davis
mbdavis at VividSolutions.com
Mon Jan 31 17:49:50 EST 2005
I can see how smart pointers can help with program correctness. Do they
help with performance?
Martin Davis, Senior Technical Architect
Vivid Solutions Inc. www.vividsolutions.com
Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5
Phone: (250) 385 6040 - Local 308 Fax: (250) 385 6046
> -----Original Message-----
> From: Norman Vine [mailto:nhv at cape.com]
> Sent: January 31, 2005 11:31 AM
> To: GEOS Development List
> Subject: RE: [geos-devel] JTS/GEOS performance
>
>
> Martin Davis writes:
> >
> > Hmmm. This seems fundamentally the wrong approach. JTS
> does not need
> > the flexibility of linked lists inside CoordinateSequences.
> It sounds
> > like you are trying to build a garbage-collected memory management
> > layer. This may be the only reasonable solution. However, rather
> > than hacking this into the existing code in an obtrusive
> kind of way,
> > it would be nicer to look for a clean, layered solution. Are there
> > any open source GC packages for C++?
>
> There are several quality OpenSource C++ Memory Managers but
> ... This is *exactly* the kind of thing that smart_pointers
> have made sort of obsolete :-)
>
http://boost.org/libs/smart_ptr/smart_ptr.htm
Norman
_______________________________________________
geos-devel mailing list
geos-devel at geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel
More information about the geos-devel
mailing list