inline

Salat

Regular
Joined
Mar 5, 2002
Messages
81
Location
Poland, Silesia
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... ?
 
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.
 
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
 
Back
Top