in reply to Re^7: rough approximation to pattern matching using local (Multi Subs)
in thread rough approximation to pattern matching using local
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,
Hm. The Erlang people talk of "Pattern matching in function head and in case and receive clauses are optimized by the compiler." & "the compiler is free to rearrange the clauses. It will generate code similar to this".
but its function calls are a lot faster then those of both Perls
They do seem to have improve things substantially in that area in newer versions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: rough approximation to pattern matching using local (Multi Subs)
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 | |
by raiph (Deacon) on Feb 09, 2015 at 07:22 UTC |