Salat Posted May 27, 2003 Posted May 27, 2003 Few days ago I've started to learn C++, I found out that there is a great command called inline (it is placed before declaration of a function) which incredibly speed up executing of program, I was wondering if there is something similiar in VB .NET Do You know any... ? Quote profesjonalne programowanie na zlecenie :)
*Gurus* divil Posted May 27, 2003 *Gurus* Posted May 27, 2003 There is nothing to explicitly make a function get inlined, but if optimizations are turned on and the compiler things there is something to be gained from doing it, it very likely will. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
AndreRyan Posted May 28, 2003 Posted May 28, 2003 The .Net compilers optimize code more effectively then any other compiler, according to Microsoft the compiler will compile program to take advantage of special features in the hardware(like 3DNow) if the computer supports it. The compiler will optimize more efficently then a native compiler as the program will be taylored for the computer it's run on and these flags will be applied if it sees a reason to do so Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.