[AccessD] Array faster in DLL?

Gustav Brock Gustav at cactus.dk
Tue Nov 1 05:05:55 CST 2005


Hi Shamil

Thanks! I posted the results in a previous message.

I appreciate very much you took the time to create this dll. It certainly has brought a new perspective.
A learning experience indeed.

/gustav

>>> shamil at users.mns.ru 31-10-2005 20:31 >>>
> Very nice! I'm looking forward ...
Here it's Gustav - final results:

VB6:   400,000,000 cycles in ~20 seconds

C++: 10,000,000,000 cycles in ~18-19 seconds

All the source code and test executables can be downloaded from:
http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB)

That  was a quick test work but one can find some VB6 advanced coding with
Implements, which shows (IMHO) why low coupling and high cohesion is a good
and very practically oriented idea (especially for long run projects).

Of course there is there also a direct coding - advanced a la' OOP was added
to start it getting generalized for someone else to maybe add other
languages test cases - anybody?

Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the
test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run
enclosed batch file regme.bat

Enjoy!

Shamil





More information about the AccessD mailing list