Messages in this thread | | | Date | Tue, 16 Jun 2015 13:56:52 -0500 | Subject | Re: [PATCH] small update for strlen, strnlen, use less cpu instructions | From | Luke Skywalker <> |
| |
> This is not a valid patch submission. Please see > Documentation/SubmittingPatches.
I resent the patch an hour ago based on that document, thanks for pointing this out. I need to know if the patch is in good shape now, thanks
> > Anyway, why do you think your patch makes strlen() better? > Now strlen() increments a variable for each character it faces, hence > it will consume more cycles.
you can look at the output of objdump -d to see why, also the assembly snippet send by another person make this clear.
| |