From: "Hal E. Fulton" Date: 2003-05-04T03:28:16+09:00 Subject: Re: Cross platform `ls -t` ----- Original Message ----- From: To: "ruby-talk ML" Sent: Saturday, May 03, 2003 12:18 PM Subject: Re: Cross platform `ls -t` > Procrastinating on real work, I tried it out: That's the spirit! [snip] > Output: > > user system total real > Non-Schwartzian: > 7.560000 2.260000 9.820000 ( 9.827662) > Schwartzian: > 4.150000 0.260000 4.410000 ( 4.422282) > > > Cool :-) :) Cool indeed. You neglected to say whether the list was correct, but I assume it was, or you'd have complained. As for the timings: I was formulating an argument that the ratio could be represented as T(N)/N**2 where T(N) is the triangular number 1+2+3+...+N or better T(N)=N*(N+1)/2. But my formulating was giving me a headache, so I quit. Hal