FW: [geos-devel] JTS/GEOS performance - smart-ptr vs ref counting
Martin Davis
mbdavis at VividSolutions.com
Mon Jan 31 20:48:39 EST 2005
> It might be worth looking into special memory managers but AFAICT
> most of the 'coordinates' are actually stored in STL vectors
> and these
> are generally about as efficient as you can get at minimizing
> allocation costs.
That's good to hear.
How would you interpret the significance of strks allocation counts he
posted earlier in this thread? There's a lot of objects being allocated
there. Might that not imply that memory allocation is a hotspot?
And there is still the undeniable fact that JTS is faster than GEOS - in
spite of it having to rely on the hopelessly inefficient garbage
collection strategy of that environment. 8^)
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
More information about the geos-devel
mailing list