--- Roger Hui <[EMAIL PROTECTED]> wrote: > +./y does not depend on the value of every byte > in the argument. Others of that ilk are > (> i. 1:) (> i. 0:) etc.
In a subsequent message I had put 1 at the very end, and it checks all bytes. Time was slower but <1 calibrated. Another one, (#y) %~ 1.45e9 * 6!:2 '>/y' NB. calibrated P4-2.8GHz 0.00198489 (#y) %~ 2.8e9 * 6!:2 '>/y' NB. raw 0.00375467 Explanation: >/0 1 0 >/1 0 1 >/0 1 0 0 >/1 1 0 0 >/1 0 0 1 >/1 1 0 0 0 >/1 0 0 0 1 >/1 1 0 0 0 >/1 0 0 1 1 >/0 0 0 1 0 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
