On 10/25/05, Gavin Sinclair <gsinclair / gmail.com> wrote:
> On 10/26/05, TRANS <transfire / gmail.com> wrote:
> >
> > path-join  0.990000   0.040000   1.030000 (  1.128913)
> > file-join  0.190000   0.010000   0.200000 (  0.224484)
> >
>
> Would a good solution be to implement Pathname in C?

That certainlu couldn't hurt, though in looking at the code and in
thinking about the basic idea, I think it may be better if a Path were
stored internally as an array rather then a string, i.e.

  class Pathname
    def initialize( path )
      @path = path.split(/\//)

T.