in reply to Re: Strange concatenation
in thread Strange concatenation

Yes, in this case is true. Anyway is the significative part of a biggest piece of code that sorts and compares different date and time formats in a trying to be fast way, and so the need to split and rejoin.

Replies are listed 'Best First'.
Re^3: Strange concatenation
by blazar (Canon) on Nov 23, 2006 at 14:55 UTC

    How could splitting and rejoining be faster than a plain string sort, if they are not needed? (If they were, it would be a different story, of course.)

      But the Schwartzian Transform always makes sorting faster! Haven't you read anything??