Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1166317
| From | Luke Skywalker <lukes357@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] small update for strlen, strnlen, use less cpu instructions |
| Date | 2015-06-16 21:00 +0200 |
| Message-ID | <pC4fv-2B3-1@gated-at.bofh.it> (permalink) |
| References | <pBUJc-5Dr-11@gated-at.bofh.it> <pBWrE-8bF-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] small update for strlen, strnlen, use less cpu instructions Luke Skywalker <lukes357@gmail.com> - 2015-06-16 21:00 +0200 Re: [PATCH] small update for strlen, strnlen, use less cpu instructions Darth Vader <bp@alien8.de> - 2015-06-16 21:10 +0200
csiph-web