Optimization Library

Don nospam at nospam.com.au
Wed Aug 27 08:37:03 PDT 2008


Craig Black wrote:
> When talking to Walter about optimizations on modern hardware, bearophile 
> provided the folowing link to a manual about hardware optimization:
> 
> http://www.agner.org/optimize/
> 
> The author of the manual also provides a free library called "asmlib":
> 
> http://www.agner.org/optimize/
> 
> This library provides optimized routines for things like memcpy and strcmp. 
> He provides benchmarks that show that they perform better than the 
> Microsoft, GNU, Intel equivalents when running on modern CPU's.  Should this 
> library be considered for use by Phobos/Tango?

It's GPLed. Also the random number generators can't be used in gambling 
applications (!) So unsuitable for a standard library. Can use the 
ideas, though <g>.



More information about the Digitalmars-d mailing list