Yes, a builder pattern would be nice to introduce here - would make the
usage pattern more evident.
Sigh... SF is getting a bit better, but yes, it's still hard to use. Why
o why do they use a light gray font color!!!
On Tue, Jan 14, 2014 at 4:19 PM, Michael Bedward
<[email protected]>wrote:
> On 15 January 2014 04:35, Smiley, David W. <[email protected]> wrote:
> >
> > There is some synchronization within the class but IMO it should be
> > removed as it doesn¹t make any usage pattern I can think of of
> thread-safe
> > that wouldn¹t otherwise be. It¹s hurting some potential concurrent
> > performance for no gain.
>
> Thanks David. I just see synchronized on AbstractSTRtree.build. Once
> the index is built that method is doing nothing other than checking
> the boolean field, so while I can't see much point in it being
> synchronized I wouldn't have thought it was a big performance penalty
> either.
>
> I suppose you could avoid the fields in the index by using a builder
> pattern to construct an immutable index.
>
> Michael
>
> PS. pleased to hear someone else finds the sourceforge list archive
> hard to use :)
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Jts-topo-suite-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user