| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| .gitignore | ||
| t0000-oid.c | ||
| test_lib.c | ||
| test_lib.h | ||
| test_main.c |
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>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| .gitignore | Loading commit data... | |
| t0000-oid.c | Loading commit data... | |
| test_lib.c | Loading commit data... | |
| test_lib.h | Loading commit data... | |
| test_main.c | Loading commit data... |