groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Moore <p.f.mo...@gmail.com>
Subject Re: Optimising a Groovy script
Date Wed, 29 Mar 2017 08:06:08 GMT
On 28 March 2017 at 22:41, John Wagenleitner
<john.wagenleitner@gmail.com> wrote:
> Hi Paul,
>
> The milliseconds to seconds conversion was off, so that puts the real time
> at ~0.5 seconds.
>
>>
>> println "Took ${time/100} sec"

*bangs head against desk*...

It's always the stupid mistakes that trip you up!

Regardless, though, thanks to Erick and James for their suggestions,
there are a number of things in them that look a lot cleaner and add
further timing improvements.

Paul

Mime
View raw message