To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87022
                 Issue #|87022
                 Summary|Why OOBasic is so slow compared to MS VisualBasic (300
                        |x)
               Component|framework
                 Version|OOo 2.3.1
                Platform|PC
                     URL|http://www.oooforum.org/forum/viewtopic.phtml?t=69532
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P1
            Subcomponent|scripting
             Assigned to|ab
             Reported by|amdx4





------- Additional comments from [EMAIL PROTECTED] Fri Mar 14 08:03:03 +0000 
2008 -------
[b]I tested on CPU Core 2 Quad Q6600 @ 3,2GHz[/b]
[u]
[code]
Sub Main
Dim x as Variant
Dim y as Variant
Dim i as Variant
x = 1
y = 1
    t! = Timer
    For i = 1 To 1000000000
        x = x * y
    Next
    Msgbox (Timer - t!)
End Sub
[/code]
[b]MS VB = 24,03 seconds
OO Basic = 3424 seconds[/b]

140 times more slow

[code]Sub Main
Dim x as Long
Dim y as Long
Dim i as Long
x = 1
y = 1
    t! = Timer
    For i = 1 To 1000000000
        x = x * y
    Next
    Msgbox (Timer - t!)
End Sub[/code][/u]
[b]MS VB = 11,42 seconds
OO Basic = 3427 seconds[/b]

300 times more slow

Who can explain this

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to