[Cuis-dev] usefulness of a faster #timesRepeat?

Juan Vuletich juan at jvuletich.org
Thu Nov 7 14:08:59 PST 2019


Hi, Andrés, Folks,

I was thinking about the need you see for a faster implementation of 
#timesRepeat:. I guess you are using it for benchmarking, right? I also 
guess you are benchmarking some code that takes very little time to run, 
to make the overhead of #timesRepeat: noticeable.

If that is the case, have you looked at #bench? It was brought from 
Squeak, and it is the 'standard' way of benchmarking small pieces of code.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich



More information about the Cuis-dev mailing list