[Gambas-user] New JIT Compiler, SUCCESS !

Benoît Minisini gambas at ...1...
Thu May 24 01:26:21 CEST 2012


Le 24/05/2012 01:19, Emil Lenngren a écrit :
> Nice!
>
> To test if it really works, try running this code:
>
> Fast    'On first row in the class file
> Public Sub Main()
>    Dim i As Long
>    For i = 1 To 1000000000000
>    Next
>    Print "It works!"
> End
>
> If it immediately prints out "It works!", it works. If the cpu is at 100%,
> the jit compiler is not in use.
>

Maybe you could use an environmental variable (GB_JIT) to print some 
messages (which function is compiled, code dump...)?

-- 
Benoît Minisini




More information about the User mailing list