1
0
mirror of https://github.com/git/git.git synced 2024-09-28 18:32:37 +02:00
git/block-sha1
Nicolas Pitre 51ea55190b make sure byte swapping is optimal for git
We rely on ntohl() and htonl() to perform byte swapping in many places.
However, some platforms have libraries providing really poor
implementations of those which might cause significant performance
issues, especially with the block-sha1 code.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-08-18 14:16:37 -07:00
..
sha1.c make sure byte swapping is optimal for git 2009-08-18 14:16:37 -07:00
sha1.h block-sha1: make the size member first in the context struct 2009-08-18 12:26:01 -07:00