commit | 698a68be7b0df6dd8d0880e0e2167cad8688a6ad | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Thu Jan 03 01:23:12 2008 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Jan 03 01:23:12 2008 -0800 |
tree | 8cb9dc608f12b52288524e4f20c59faa1d131157 | |
parent | 257f3020f69f3222cdefc1d84b148fb35b2c4f5b [diff] |
Uninline prefixcmp() Now the routine is an open-coded loop that avoids an extra strlen() in the previous implementation, it got a bit too big to be inlined. Uninlining it makes code footprint smaller but the result still retains the avoidance of strlen() cost. Signed-off-by: Junio C Hamano <gitster@pobox.com>