[Gambas-user] New JIT Compiler, Trying....
Ru Vuott
vuott at ...325...
Thu May 24 01:49:27 CEST 2012
> 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.
Well, I try this:
Fast 'On first row in the class file
Public Sub Button1_Click()
Dim i As Long
For i = 1 To 1000000000000
Next
Print "It works!"
End
But It didn't print immediately "It works!", and CPU4 was at 100% ! :-(
More information about the User
mailing list