3 ms·
LOL, I've been there: https://www.kylheku.com/cgit/txr/commit/mpi?id=98dedd310b1d5d876b0fbb0ebd6c4df9bd7b2d88 https://www.kylheku.com/cgit/txr/commit/mpi?id=98d
by kazinator 2y ago
LOL, I've been there: https://www.kylheku.com/cgit/txr/commit/mpi?id=98dedd310b1d5d876b0fbb0ebd6c4df9bd7b2d88 https://www.kylheku.com/cgit/txr/commit/mpi?id=98dedd310b1d5...
(Patch was originally from 2011; it was bugfixed once, and then in 2015 converted to git commit:
https://www.kylheku.com/cgit/txr/commit/mpi-patches/faster-square-root?id=ef47dfe4fcb7c1be369ae83221386b9da6474a1e https://www.kylheku.com/cgit/txr/commit/mpi-patches/faster-s... )
Another one: faster highest-bit search:
https://www.kylheku.com/cgit/txr/tree/mpi-patches/bit-search-optimizations?id=124e7dd6977a0853d7a8399921e31fd1ccde2dcb https://www.kylheku.com/cgit/txr/tree/mpi-patches/bit-search...
That does use GCC built-ins today: https://www.kylheku.com/cgit/txr/commit/?id=15b7c542dc44899e8db7addfcc2f1c1c4a188b49 https://www.kylheku.com/cgit/txr/commit/?id=15b7c542dc44899e...