Fix Gambas 'string2' test.
[BENCHMARKS] * BUG: Fix Gambas 'string2' test.
This commit is contained in:
parent
8a9e30e1be
commit
f6d742e134
1 changed files with 12 additions and 16 deletions
|
@ -1,21 +1,17 @@
|
|||
#!/usr/bin/env gbs3
|
||||
|
||||
Public Sub Main()
|
||||
Dim S As String
|
||||
Dim I As Integer
|
||||
Dim C As String
|
||||
Dim J As Integer
|
||||
|
||||
Dim S As String
|
||||
Dim I As Integer
|
||||
Dim C As String
|
||||
Dim J As Integer
|
||||
|
||||
For I = 1 To 1000000
|
||||
For J = 65 To 90
|
||||
C = Chr$(J)
|
||||
S &= ".(" & C & ")"
|
||||
Next
|
||||
Next
|
||||
|
||||
Print Len(S)
|
||||
|
||||
End
|
||||
For I = 1 To 1000000
|
||||
For J = 65 To 90
|
||||
C = Chr$(J)
|
||||
S &= ".(" & C & ")"
|
||||
Next
|
||||
Next
|
||||
|
||||
Print Len(S)
|
||||
Error CStr(Jit.Time)
|
||||
|
||||
|
|
Loading…
Reference in a new issue