[Gambas-user] updated benchmark

Jussi Lahtinen jussi.lahtinen at gmail.com
Wed Sep 28 00:22:26 CEST 2022


Probably no particular reason, other than it is generally wise to avoid
"unsafe".
In my opinion, if you want to get closer to the "C territory" because of
speed, then you could as well use C.

Jussi

On Wed, Sep 28, 2022 at 1:12 AM Brian G <brian at westwoodsvcs.com> wrote:

> By adding fast unsafe to the start of primes.gbs the speed is orders of
> magnitude faster.
>
>
> Is there a reason not to do this for the benchmarks?
>
> 1.5 seconds gbs
> 5.7 seconds without fast unsafe gbs
> 16.217seconds for py
>
>
>
> "Failure is the key to success;
>  each mistake teaches us something"  .. Morihei Ueshiba
> Brian G
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220928/99f6ea2a/attachment.htm>


More information about the User mailing list