about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-07-27 14:03:57 -0400
committerPalmer Cox <p@lmercox.com>2013-08-02 18:49:00 -0400
commitee3f75366cc1468a4ce8106976eeb9f42eb9965b (patch)
treecb9c0af5b9ec1492a5fce09a323fde3446614901 /src/rt/rust_exchange_alloc.cpp
parent654c536fec01d984f758ec32904354378aa3b792 (diff)
downloadrust-ee3f75366cc1468a4ce8106976eeb9f42eb9965b.tar.gz
rust-ee3f75366cc1468a4ce8106976eeb9f42eb9965b.zip
Sha2: Re-write the Sha2 compression functions to improve performance.
The Sha2 compression functions were re-written to execute the message
scheduling calculations in the same loop as the rest of the compression
function. The compiler is able to generate much better code. Additionally,
innermost part of the compression functions were turned into macros to
reduce code duplicate and to make the functions more concise.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions