[PATCH] Do not multiply by zero in bzero.
Roland McGrath
roland@hack.frob.com
Fri Mar 22 18:09:00 GMT 2013
bzero is a rarely-used compatibility entry point in this century.
So I don't think it's really worthwhile to microoptimize bzero per
se. It's far more common to call memset with a zero fill value. So
if that case is suboptimal then that's the place to optimize, and if
the optimization is significant then it is probably worthwhile for
memset to detect zero fill as a special case.
Thanks,
Roland
More information about the Libc-alpha
mailing list