From: William James Date: 2006-08-04T05:30:13+09:00 Subject: Re: For performance, write it in OCaml William James wrote: > Jon Harrop wrote: > .... > > let rec add_a_row row = > > if row = size then begin > > for i=0 to size-1 do > > String.blit output_strings.(board.(i)) 0 op (i*(size+1)) size > > done; > > print_string op; > > print_string "\n" > > A small point. > print_endline op > is shorter. Is it faster? Not with the interpreter; it's slower. Haven't tested the compiler yet.