# New Ticket Created by Rob Hoelz
# Please include the string: [perl #125671]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=125671 >
See the attached file.
When I uncomment the line that defines a * prefix operator (ala pointer
dereferencing in C), the runtime for the script is five times as long.
class MyThing {
has $.value;
}
# uncommenting this results in a 5x long compilation time
#sub prefix:<*>(MyThing $thing) { $thing.value }
my $thing = MyThing.new(:value<foo>);
say $thing.value;