VBscript, ADO on windows 2000 is faster than C++ ATL, ADO 
Author Message
 VBscript, ADO on windows 2000 is faster than C++ ATL, ADO

I am talking here not about encoding streams for instance but just << common

Quote:
>> ADO code.

I have lost a week of full work to a C++ component that was written with
state of the art code using
object pooling, multithreading, enlisting etc...

The same code in a VBScript is even 20% faster than a C++ object registered
with COM+
It is 40% faster than a VB COM object

- just include such ASP code with <!--#include file="aspclasses.asp"-->

Class MyScriptclass

Private .... ado objects... (in the COM+ Objectconstruct build)...

Public Default Property Get SomeProp()
    .... ado statements
End Property

Public Property Let SomeProp(Item, newVal)
    ... ado statements
End Property

Private Sub Class_Initialize
    ... ADO code like that was in the COM+ Activate event
End Sub

Private Sub Class_Termine
    ADO code that was in the COM+ DeActivate event
End Sub

End Class



Tue, 22 Oct 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. vbscript, ado, access 2000

2. ADO Help doesn't appear (Access 2000, Windows 2000)

3. ADO methods vs ADO commands - Which is faster?

4. ADO & Windows 2000

5. ADO ADO ADO ADO ADO VB examples / samples book wanted

6. Cannot connect to Access 2000 database in Windows XP with ADO (2.5)

7. ADO and Windows 2000

8. ADO 2.0 to 2.6, Window 98, NT and 2000

9. ADO and Windows 2000 Professional

10. ADO Connection Problem and Windows 2000 - multiuser problem

11. ADO + Oracle + Filter + Windows 2000

12. Distributing ADO Software Developed on Windows 2000 Professional

 

 
Powered by phpBB® Forum Software