git: 710e45c4b853 - main - Reimplement strlen
Steffen Nurpmeso
steffen at sdaoden.eu
Sat Jan 30 00:13:43 UTC 2021
Jessica Clarke wrote in
<AC9CB72D-FB20-4CB2-A64E-518764CCF750 at freebsd.org>:
|On 29 Jan 2021, at 23:48, Mateusz Guzik <mjg at FreeBSD.org> wrote:
|>
|> The branch main has been updated by mjg:
|>
|> URL: https://cgit.FreeBSD.org/src/commit/?id=710e45c4b8539d028877769f1a4\
|> ec088c48fb5f1
|>
|> commit 710e45c4b8539d028877769f1a4ec088c48fb5f1
|> Author: Mateusz Guzik <mjg at FreeBSD.org>
|> AuthorDate: 2021-01-29 21:48:11 +0000
|> Commit: Mateusz Guzik <mjg at FreeBSD.org>
|> CommitDate: 2021-01-29 23:48:26 +0000
|>
|> Reimplement strlen
|
|This really should have gone through code review.
Out of topic: i seem to recall to have seen these masks and
similar code (with predictions) in the Linux kernel about 20 years
ago. I admire people who grasp and wrap their heads around such
maths on the fly. I tend to forget it again and again. Mind you,
cycling two days ago over across the small hill i landed in
winter, today it was all melted and the sheeps adored it.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
More information about the dev-commits-src-all
mailing list