in reply to (dkubb) Re: (3) Returning the lowest key in a hash (or highest)
in thread Returning the lowest key in a hash (or highest)

A lot of that is 'and' being a lot faster than ?:, rather than the multiple assigns.

Update:  Wrong!  jcwren challenged me to benchmark it and almost all the time is in the assigns.

p
  • Comment on Re: (dkubb) Re: (3) Returning the lowest key in a hash (or highest)

Replies are listed 'Best First'.
Re: Re: (dkubb) Re: (3) Returning the lowest key in a hash (or highest)
by and (Pilgrim) on Mar 27, 2001 at 20:12 UTC
    Cool!

    Update: darn