Sharp3D.Math performance improvements

Posted in  | .  

After doing some performance tests (suggested by Wout de Zeeuw) it became clear to me that using public fields instead of properties can boost the libraries performance by 10%-20% (!!!).

Replacing the static arithmetics methods also yields another 1%-2% performance boost.

Wout has applied these changes to the latest Sharp3D.Math release and I will go over these changes and make an official Sharp3D.Math release as soon as possible after my finals are over.

I will also release a test preview of version 2.0 of the library ASAP...

Stay tuned... :)

Thursday, July 06, 2006 3:25:57 PM UTC
Its been 1 year since you post that. Do you plan to release a 1.1.3.1 version with your performance improvement. Also, to help the C# compiler to optimize your code, have you considered the use of sealed methods for those who won't be overriden.

Applying sealed keyword to a function remove its virtuality and thus make possible for the compiler to inline it. When mixing interface and class, this could help.
Jean Gauthier
Comments are closed.

About

Eran Kampf draws upon 8+ years of experience in software development and research. Eran served in the IDF's elite geospatial-intelligence as a senior software developer and is currently working at SAP as an R&D Engineer working on Duet which is jointly developed by SAP & Microsoft.
AddThis Feed Button Give Feedback

On this page...

Recent Comments

Tags

Statistics

Total Posts: 481
This Year: 61
This Month: 0
This Week: 0
Comments: 281

Google Ads