Junio C Hamano <gitster@xxxxxxxxx> writes: > ... Interestingly, disassembly I saw looked a lot more > optimized than the C variant compiled with clang-19 -O2. That was a false alarm. With right compilation option passed, C version of decode_varint() compiled to identical assembly as what rustc/llvm produced.