Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2021 01:13:34 +0100
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        Jessica Clarke <jrtc27@freebsd.org>
Cc:        Mateusz Guzik <mjg@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 710e45c4b853 - main - Reimplement strlen
Message-ID:  <20210130001334.riY1-%steffen@sdaoden.eu>
In-Reply-To: <AC9CB72D-FB20-4CB2-A64E-518764CCF750@freebsd.org>
References:  <202101292348.10TNmV8Z022427@gitrepo.freebsd.org> <AC9CB72D-FB20-4CB2-A64E-518764CCF750@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jessica Clarke wrote in
 <AC9CB72D-FB20-4CB2-A64E-518764CCF750@freebsd.org>:
 |On 29 Jan 2021, at 23:48, Mateusz Guzik <mjg@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@FreeBSD.org>
 |> AuthorDate: 2021-01-29 21:48:11 +0000
 |> Commit:     Mateusz Guzik <mjg@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210130001334.riY1-%steffen>