Re: [PATCH] use skip_prefix() to avoid more magic numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



René Scharfe <l.s.r@xxxxxx> writes:

> I didn't think much about the performance implications.  skip_prefix()
> doesn't call strlen(3), though.

Ah, OK.

> The code handles millions of ref strings per second before and after
> the change, and with the change it's faster.  I hope the results are
> reproducible and make it easier to say goodbye to pfxlen. :)

;-)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]