[Gambas-user] News about the new just-in-time compiler

Benoît Minisini g4mba5 at gmail.com
Wed Jul 4 00:48:37 CEST 2018


Le 04/07/2018 à 00:28, Tony Morehen a écrit :
> In one of my programs, I have two functions that use the Fast prefix.
> 
> When the first function is called, the "wanted String[], got float" is
> raised.  Everything works fine when Fast is removed.  Here are the two
> functions:
> 
> Fast Public Function WordWrap(text As String, $WordWrap As Boolean,
> $LineWidth As Float) As String[]
 > ...

Please post a source project archive.

> 
> Fast doesn't make much of a difference on small to medium-sized files,
> but seems to make a difference on large files, though I haven't run any
> tests.
> 

The effect of Fast is not related to the size of your files, but on the 
kind of operations done.

You won't gain anyhting in string processing for example.

Regards,

-- 
Benoît Minisini


More information about the User mailing list