[AccessD] Array faster in DLL?

Fred Hooper fahooper at trapo.com
Fri Oct 28 17:09:24 CDT 2005


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
it.

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

/gustav

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list