Does defining the type of variables give more speed?
If I have a generic Dict () and replace it with a Dict with string keys and array elements as values, should I expect a performance improvement? or, when Julia compiles, understanding the type required by the code, then afterwards is it indifferent to have typed or not?
I ask it because it seems to me that in PHP7, defining the type of variables did not bring more speed, but only more maintainability of the code (as long as you don’t remember me badly).
Many thanks for reply.
I ask to understand this: I jot down the code in julia without worrying too much about the type of variables, lists or dictionaries that are … ok … then I think, now I put the right types, so I speed it up. Is this thought correct?