Go to file
Shawn O. Pearce b7c891c629 Add git_oid_cpy, git_oid_cmp as inline functions
These are easily built off the standard C library functions memcpy
and memcmp.  By marking these inline we stand a good chance of
the C compiler replacing the entire thing with tight machine code,
because many compilers will actually inline a memcmp or memcpy when
the 3rd argument (the size) is a constant value.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-11-03 18:43:04 -08:00
include/git Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
src Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
tests Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
.gitignore Create a basic test suite for the library and test oid functions 2008-11-01 18:24:39 -07:00
.HEADER Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00
api.doxygen Add git_oid_cpy, git_oid_cmp as inline functions 2008-11-03 18:43:04 -08:00
CONVENTIONS Move include files to include/git/, drop git_ prefix from file names 2008-11-01 15:42:23 -07:00
COPYING Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00
Makefile Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00