[AccessD] Array faster in DLL?

Gustav Brock Gustav at cactus.dk
Sat Oct 29 14:34:20 CDT 2005

Hi Fred

Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart).

By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly?
Are you saying he obtained a 50:1 improvement in total compared to VB?
I could probably handle PowerBasic without much trouble, but Assembler is far away ...


>>> fahooper at trapo.com 29-10-2005 00:09 >>>
My brother-in-law, who develops in VB6, has told me that writing his DLL's
in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of
critical ones, he moved to Assembler for another 5:1.

-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Friday, October 28, 2005 9:30 AM
To: accessd at databaseadvisors.com 
Subject: [AccessD] Array faster in DLL?

Hi all

I have some routines that manipulate data in and between some arrays. 
The arrays are not large but they are recalculated about 3 mio. times which
runs on my machine to 90 seconds.

I was wondering if there would be any significant speed increase by moving
these routines to a DLL. I have no experience in writing such libraries but
guess I could find as the routines are uncomplicated. Variables are Long
mostly, only one Single. 
It would take me some time to program these, of course, and if the speed
increase only could be expected to be, say, 30%, it wouldn't hardly be worth

Does anyone (Drew, Stuart?) have experience about what to expect?


More information about the AccessD mailing list