# New Ticket Created by "Hinrik Örn Sigurðsson"
# Please include the string: [perl #128388]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128388 >
Calling .assuming() on a subroutine is way too slow for general usage.
$ time perl6 -e'sub foo { my &curry = &foo.assuming(); }; for 1..100 -> $x {
foo() }'
real 0m4.235s
user 0m4.192s
sys 0m0.044s
$ time perl6 -e'sub foo { }; for 1..100 -> $x { foo() }'
real 0m0.106s
user 0m0.068s
sys 0m0.036s