Cool trick, thanks. I had a similar problem and ended up defining methods with
the Val{} argument for dispatch on different values. I was not entirely happy
with it, though, because of all the extra typing of parenthesis. Will try
adding an inlined calling method.How in practice would you go checking that you do not really hit performance? Davide
