in reply to Re^6: rough approximation to pattern matching using local (Multi Subs)
in thread rough approximation to pattern matching using local
But (again; just my suspicion), P6 has to in(tro)spect the argument list at runtime and then attempt a best match (or fail?) against the signatured possibilities for the given function name, at runtime. Hence the performance cost.Erlang, for instance, is a dynamic language too (but strongly typed - like Python), it doesn't have any fancy type system and matches at runtime, its not 'fast', all in all, but its function calls are a lot faster then those of both Perls. It seems to me optimizations are possible... in theory.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: rough approximation to pattern matching using local (Multi Subs)
by BrowserUk (Patriarch) on Feb 02, 2015 at 16:02 UTC | |
by Anonymous Monk on Feb 02, 2015 at 17:58 UTC | |
by BrowserUk (Patriarch) on Feb 02, 2015 at 18:50 UTC | |
by raiph (Deacon) on Feb 04, 2015 at 22:32 UTC | |
by BrowserUk (Patriarch) on Feb 05, 2015 at 04:15 UTC | |
|