[geos-devel] JTS/GEOS performance

Norman Vine nhv at cape.com
Mon Jan 31 14:30:39 EST 2005


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



More information about the geos-devel mailing list