dwmkerr / glmnet

GlmNet is a .NET version of the excellent OpenGL Mathematics library (GLM).
MIT License
53 stars 20 forks source link

Apply Inlining Attributes #14

Open ForeverZer0 opened 5 years ago

ForeverZer0 commented 5 years ago

Nearly every function could benefit from adding the [MethodImpl(MethodImplOptions.AggressiveInlining)] attribute. Many will obviously be done automatically by the compiler, but it is pretty standard to force it with a performance critical library such as this.