Basic question about different type annotations in function declarations

There is a subtle difference that 2 will force specialization, whereas the other two leave it to the compiler. At least this is how it used to be Splatting arguments causes ~30x slow down - #2 by tim.holy.

4 Likes