[geos-devel] JTS/GEOS performance - smart-ptr vs ref counting

Norman Vine nhv at cape.com
Tue Feb 1 01:34:25 EST 2005


Chapman, Martin writes:
>  
> I don't think storing points in an stl vector is the problem.  I think the problem is definitely the copying of the point 
> arrays many times, and allocating/deallocating lots of objects in every loop. 

*exactly*  this I believe comes about by trying to emulate Java in C++
in order to keep the code base 'similar'

< There was some good discussion on this back in Nov 2002 >

Cheers

Norman




More information about the geos-devel mailing list