[geos-devel] JTS/GEOS performance
strk at refractions.net
strk at refractions.net
Tue Feb 8 07:00:47 EST 2005
On Tue, Feb 08, 2005 at 10:53:07AM +0100, strk at refractions.net wrote:
> On Mon, Feb 07, 2005 at 09:17:04AM -0700, Chapman, Martin wrote:
> > Mark,
> >
> > Boost looks really nice. Once you use smart pointers you'll never go
> > back to dumb ones. It almost makes C++ as elegant and simple as Java.
> >
> > Martin
>
> It might be worth switching, for the sake of port sanity.
> Anyway, Coordinate copies are not our current bottleneck.
I correct myself. Coordinate copies are the bottleneck for
buffer100, while they arent for buffer2000.
I'm still talking about our profiling test case.
--strk
>
> --strk;
>
>
> >
> > -----Original Message-----
> > From: Mark Coletti [mailto:mcoletti at gmail.com]
> > Sent: Monday, February 07, 2005 9:09 AM
> > To: GEOS Development List
> > Subject: Re: [geos-devel] JTS/GEOS performance
> >
> >
> > On Mon, 31 Jan 2005 16:42:44 -0800, Chris G. Nicholas
> > <cgn at globexplorer.com> wrote:
> > > > an enterprise api should have both smart pointers and ref-counting
> > > > available as an option.
> >
> > > Martin is certainly correct that smart pointers, reference counting
> > > and garbage collection are all related. But one has to decide if a
> > > geometry API and in-memory features are fundamentally multithreaded
> > > animals, what their persistence mechanisms are, and what happens when
> > > one thread does wierd things while others are interested in a
> > > particular feature. [...]
> >
> > > I would argue that reasonable assumptions, i.e. simple thread safety
> > > and *s*p*e*e*d*, are
> > > much more preferrable than exotic special cases. Straightforward
> > readers/writer locks
> > > should suffice; (not sure what the pthread equivalent is, but on
> > Solaris it is rwlock(3thr) ) .
> >
> > The Boost C++ Library offers reference-counting smart pointers that have
> > built-in thread locking. See shared_ptr class at http://boost.org/.
> > The Boost library also offers a large number of other useful classes,
> > functions, and macros.
> >
> > Cheers,
> >
> > Mark
> > --
> > I'm taking reality in small doses to build immunity.
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> _______________________________________________
> 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