The 'no loops' code is the original with the while/for constructs removed.


Sent from my iPad

> On Apr 21, 2017, at 11:04, [email protected] wrote:
> 
> Henry - regarding the neural network code I posted in wierdness #2,  some 
> quick and dirty timing tests:
> 
>             No loops.     Loops.      Ratio
> 805:       0.00181       0.01067     5.9
> 806:       0.00191       0.025         13
> Ratio:         1.06            2.34.        2.21
> 
> Loops means 10 'while' loops within which are about 20 'for' loops.  
> Incredibly it seems that the presence of the loop control constructs is 
> responsible for the performance degradation.
> 
> 
> 
> Sent from my iPad
> 
>> On Apr 20, 2017, at 20:19, Henry Rich <[email protected]> wrote:
>> 
>> name =: verb define
>> smoutput 'time at point 1: ' , ": 6!:1''
>> NB. do something
>> smoutput 'time at point 2: ' , ": 6!:1''
>> NB. etc.
>> )
>> 
>> untested
>> 
>> Henry Rich
>> 
>> 
>> 
>> 
>>> On 4/20/2017 8:15 PM, Michael Goodrich wrote:
>>> Henry
>>> 
>>> You could save me some time if you could post a code example
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
>> 
>> ---
>> This email has been checked for viruses by AVG.
>> http://www.avg.com
>> 
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to