Ok, thanks Alexandre
> On May 14, 2015, at 5:52 AM, Camille <camille.ter...@gmail.com> wrote: > > >> On 14 May 2015, at 11:46, Alexandre Bergel <alexandre.ber...@me.com> wrote: >> >> Any idea where the slowdown comes from? >> 20% makes it easily detectable > > It comes from the method resolution and invocation in > Object>>#explicitRequirement. > > Camille > >> Alexandre >> >> >> >>> Le 12 mai 2015 à 07:06, Yuriy Tymchuk <yuriy.tymc...@me.com> a écrit : >>> >>> Hi, >>> >>> I’ve noticed that if you install a trait on a class and a trait defines >>> explicit requirement method, and this method is defined in a super class, >>> it is being looked up during execution through #explicitRequirement method. >>> It was slowing down my execution by almost 20%. Is there a special way to >>> use a Trait to avoid that, or it’s work-in-progress solution? >>> >>> Uko >> > > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.