Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB speed (rivaling C applications)
Message
From
03/02/2000 10:22:44
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
VB speed (rivaling C applications)
Miscellaneous
Thread ID:
00326670
Message ID:
00326670
Views:
57
Ed, for early binding. I have recently changed from dim myObj as object to dim myObj in some areas to allow me the opportunity to use a different year specific control in my app. Could you talk more about the benefits of using this throughout. Also, how can I use static memory in the app? This topic interests me a great deal, hoping that others would too. I made a new thread.

... snip snip ...
* Origionaly From the inheritance thread.
* Ed Vanduyne said:
>In fact, for true VB speed (rivaling C applications), you have to follow a few simple rules:
>
>1) Early bind all objects, never use 'As Object'; allowing the VB/C compiler to hard link entry points.
>2) Use static memory throughout the application (if possible), VB's memory manager still runs garbage collection, the less garbage, the
>faster your program.
>3) Avoid using collections, and other inefficient storage mediums. Use arrays or API memory copy routines if possible.
>4) - ... {your input here!}
>
>I've used these practices in detailed real-world examples, with the greatest of success.

... more snip snip ...
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Next
Reply
Map
View

Click here to load this message in the networking platform