Optimize ntohl() code.
authorKevin O'Connor <kevin@koconnor.net>
Mon, 15 Feb 2010 15:46:37 +0000 (10:46 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 16 Feb 2010 00:19:10 +0000 (19:19 -0500)
commit68caaa745ab1df22a4b9c52235f40d19d2084f35
tree0b052458bd2107cce730a7a76e2f10c3c6c07bc6
parent42157c8b96c59211f536606dc17be01e36bab790
Optimize ntohl() code.

Use the assembler bswapl instruction if the value is not constant.
src/util.h