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

Juan Vuletich juan at jvuletich.org
Mon Nov 11 04:28:25 PST 2019


Cool.

This further version reintroduces the 'xx seconds per run' as 
alternative to 'yy runs per second' when appropriate, while avoiding the 
code repetition.

Cheers,

On 11/10/2019 11:37 PM, Andres Valloud via Cuis-dev wrote:
> Juan, here's another advantage of moving non-local returns to the 
> outermost possible scope: it leads to redundant code deletion.
>
> This version neglects jitting time when the block takes too long to 
> merit repetitions.
>
> Andres.
>
> On 11/10/19 05:56, Juan Vuletich wrote:
>> Hi Andrés, Folks,
>>
>> The attach is a slight rework to avoid evaluating many times a block 
>> that might take a long time to run. It also allows us doing '[ stuff 
>> ] benchFor: 1.5 seconds' for example.
>>
>> Please take a look.
>>
>> 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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 3957-benchEnhancements-AndresValloud-JuanVuletich-2019Nov11-09h10m-jmv.1.cs.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20191111/1c9028d0/attachment.ksh>


More information about the Cuis-dev mailing list