Summary: Unsigned rotate standard function in Phobos
--- Comment #0 from bearophile_h...@eml.cc 2011-10-18 15:10:25 PDT ---
I think Phobos needs one or two functions to rotate the bits of a unsigned
integral value, because DMD is now able to optimize a specific coding pattern
to use specific CPU instructions, but it's easy to write the operation in a way
that doesn't allow the pattern to be recognized.
A Phobos template function (with a constraint that lets it accept only the
right input types) will allow to explicitly ask for this operation to every
present and future D compiler, with no risk of mistakes from the programmer.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------