In Debug build, Crypto++ has plenty of Assert validation codes. These codes are removed by the compiler in Release build. I believe this is the main reason why you see a significant improvement in Release over Debug.
Correct me if I am wrong. --- Cheng Huang <[EMAIL PROTECTED]> wrote: > I have been testing the performance of AES, RC4, > IDEA, CAST, DES in > Crypto++ 5.1 package. The speed up of RELEASE build > is about 4 times. > Can somebody explain the reason to me a little bit. > I have tried to use > the same compile flags in other computation complex > program, but didn't > see the same improvement. I would very much love to > learn these speedup > tactics and apply to my own program. Any advice or > related resources are > welcome. Thanks. > > -- Cheng > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
