Yes, nicely done.

> concatIntegers  =. ,&'x'@,&.":
> concatIntegers/ (5 $ 1234567890)

In continuing to pflog away, I noticed that a slight change of your
verb works much faster, but doesn't finish well.

   6!:2 ' concatIntegers/ (500 $ 1234567890)'   NB. remember this time
1.2667
   6!:2 ' concatIntegers M./ (500 $ 1234567890)'  NB. no improvement
1.23531
   6!:2 ' concatIntegers /M. (500 $ 1234567890)' NB. no improvement
1.29468
   concatIntegers0  =. ,&'x'@,&":
   6!:2 ' concatIntegers0/ (500 $ 1234567890)' NB. big improvement
0.040116
   6!:2 ' concatIntegers0/ (5 $ 1234567890)'
0.000163078
   ". concatIntegers0/ (5 $ 1234567890) NB. but cannot return to numbers?
|ill-formed number
|       ".concatIntegers0/(5$1234567890)
   $concatIntegers0/ (5 $ 1234567890) NB. this is why, but can it be fixed?
54

On Mon, Jul 18, 2011 at 5:50 PM, mijj <[email protected]> wrote:
> (Department of Flogging a Dead Horse)
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to