3 ms·
You need types. It's the secret sauce behind multiple dispatch.
by adamnemecek 7y ago
You need types. It's the secret sauce behind multiple dispatch.
- staticfloat 7y agoBe sure to read the sibling comment from ddragon; it’s not necessary to explicitly write type annotations, that should never increase performance. It only alters when a particular function can be called. The “secret sauce” in Julia is the aggressive type inference that gets run on non-typed code, determining the types (when possible) of your entire program.