Re: Pattern-matching strings.

1998-01-28 Thread Simon L Peyton Jones
Is pattern-matching short strings (one or two characters) likely to be _vastly_ less efficient than matching against a single level of constructor? (Order of magnitude, plus.) Trying to make sense of some profiling numbers, here... I believe it is. Currently I think we call the

Re: Pattern-matching strings.

1998-01-28 Thread Sigbjorn Finne
Simon Marlow writes: Alex Ferguson [EMAIL PROTECTED] writes: Is pattern-matching short strings (one or two characters) likely to be _vastly_ less efficient than matching against a single level of constructor? (Order of magnitude, plus.) Trying to make sense of some profiling