3 ms·
Perl 6 dispatches on multiple arguments based on runtime types, so it's full multiple dispatch.
by arnsholt 10y ago
Perl 6 dispatches on multiple arguments based on runtime types, so it's full multiple dispatch.
- raiph 10y agoI thought that, while Perl 6 can dispatch based on runtime types, it does candidate resolution at compile-time for functions (and thus operators) and private methods. It only adds in run-time overhead for these cases if the code uses a run-time type construct. Am I wrong?