Optimisation of unpackCString#

Simon Peyton-Jones simonpj at microsoft.com
Wed Apr 30 11:02:31 EDT 2008


| One of my ideas was some RULES that expand:
|
| test x | "neil" `isPrefixOf` x = ...
|           | "ned" `isPrefixOf` x = ...

You might want to be careful about this, because you could really get a *lot* of code this way.

| Simon: I will email you in a couple of weeks to discuss it.

Great, thanks

S


More information about the Glasgow-haskell-users mailing list