> On 14 May 2015, at 11:46, Alexandre Bergel <[email protected]> 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 <[email protected]> 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 >
