t =. ? 1000000 # 1000 ts '] t' 4.21309e_6 640 ts '<. t' 0.00720339 4.19494e6
I am working on graphics display lists which need to end up as integers. They sometimes turn to floats when they are scaled, and then they have to be turned back into integers. To accommodate all the cases I have, I end up executing <. more times than is really necessary. Wouldn't it be a Good Thing for <. and >. to be fast NOPs (i. e. like ]) when applied to integer or Boolean arrays? I guess I can use <.^:(4 < 3!:0) but I still think the change is worthwhile. Henry Rich ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
