Re: Workers and Speed

2016-08-05 Thread Alex Harui
On 8/5/16, 10:24 PM, "bilbosax" wrote: >> You might want to make sure the sparse array doesn't have some >unintended side effect. > >What did you mean by this? When I run my program the original way, doing >ALL of the calculations, I get a certain number of matches. > >When I am running the p

Re: Workers and Speed

2016-08-05 Thread bilbosax
> You might want to make sure the sparse array doesn't have some unintended side effect. What did you mean by this? When I run my program the original way, doing ALL of the calculations, I get a certain number of matches. When I am running the programming doing half of the calculations and st

Re: Workers and Speed

2016-08-05 Thread Alex Harui
On 8/5/16, 6:55 PM, "bilbosax" wrote: >Alex Harui wrote >> IMO, the new loop is constructed in a way that it will only test a vs b >> and never b vs a, so there is no need to store things for the b vs a >>test. > >Yes, but the point that I am trying to make is that I can only calculate >the >te

Re: Workers and Speed

2016-08-05 Thread bilbosax
Alex Harui wrote > IMO, the new loop is constructed in a way that it will only test a vs b > and never b vs a, so there is no need to store things for the b vs a test. Yes, but the point that I am trying to make is that I can only calculate the test A sums and averages against all the other record

Re: Workers and Speed

2016-08-05 Thread Alex Harui
Yeah, email can be painful at times, but it makes a good record for others to maybe use some day. IMO, if your old loop worked, then without changing anything else, the new loop that does half the compares should work as well in half the time. Then separately, there is whether the sparse array spe

Re: Workers and Speed

2016-08-05 Thread bilbosax
I wish sometimes that we could actually talk because typing can become cumbersome when trying to convey ideas. But basically imagine that I have a yellow marble laying on a map, and I want to know how many blue marbles lay within a mile of that marble. I go through all the conditionals to make su

Re: FlexJS: Maven build Fail

2016-08-05 Thread Alex Harui
On 8/5/16, 8:02 AM, "PKumar" wrote: >Hi, > > I am following the steps mentioned on below link but getting build >fail. >Please check the attached screen shot. >https://cwiki.apache.org/confluence/display/FLEX/Building+FlexJS+with+Mave >n > >

FlexJS: Maven build Fail

2016-08-05 Thread PKumar
Hi, I am following the steps mentioned on below link but getting build fail. Please check the attached screen shot. https://cwiki.apache.org/confluence/display/FLEX/Building+FlexJS+with+Maven - Regards, Prashant --

Re: Workers and Speed

2016-08-05 Thread Javier Guerrero GarcĂ­a
Agree with Alex :) You should be under the minute barrier, since you're doing just half the job (unless of course getting the results from the DB takes 1 minute :) On Fri, Aug 5, 2016 at 6:21 AM, Alex Harui wrote: > Sounds like you made two major changes. Did you do them separately and > measur