Hello.
> On 22/07/2012 02:43, Gilles Sadowski wrote:
> > On Sat, Jul 21, 2012 at 11:44:43AM -0700, Ted Dunning wrote:
> >> Synchronization in low level code is generally really bad. This is the
> >> whole point of why Vector was essentially thrown away in Java collections
> >> in favor of ArrayLi
Hi Gilles,
On 22/07/2012 02:43, Gilles Sadowski wrote:
> On Sat, Jul 21, 2012 at 11:44:43AM -0700, Ted Dunning wrote:
>> Synchronization in low level code is generally really bad. This is the
>> whole point of why Vector was essentially thrown away in Java collections
>> in favor of ArrayList.
>
On Sat, Jul 21, 2012 at 11:44:43AM -0700, Ted Dunning wrote:
> Synchronization in low level code is generally really bad. This is the
> whole point of why Vector was essentially thrown away in Java collections
> in favor of ArrayList.
I might be wrong, but I don't think that's the reason.
At the
Synchronization in low level code is generally really bad. This is the
whole point of why Vector was essentially thrown away in Java collections
in favor of ArrayList.
Better to synchronize in the caller who knows about the multi-threading.
Or simply build a synchronized wrapper in an inner clas
On Fri, Jul 20, 2012 at 07:26:59PM -0700, Phil Steitz wrote:
> On 7/20/12 5:39 PM, Gilles Sadowski wrote:
> > Hi.
> >
> >> Author: erans
> >> Date: Sat Jul 21 00:08:18 2012
> >> New Revision: 1364024
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1364024&view=rev
> >> Log:
> >> MATH-797
> >> Perfo
On 7/20/12 5:39 PM, Gilles Sadowski wrote:
> Hi.
>
>> Author: erans
>> Date: Sat Jul 21 00:08:18 2012
>> New Revision: 1364024
>>
>> URL: http://svn.apache.org/viewvc?rev=1364024&view=rev
>> Log:
>> MATH-797
>> Performance: synchronization should ensure that the computation of each
>> rule will be
Hi.
> Author: erans
> Date: Sat Jul 21 00:08:18 2012
> New Revision: 1364024
>
> URL: http://svn.apache.org/viewvc?rev=1364024&view=rev
> Log:
> MATH-797
> Performance: synchronization should ensure that the computation of each
> rule will be performed once, even if the factory is accessed from m