This makes the code slightly more compact and easier to read.
No functional change intended.
Be consistent and declare all small helpers as inline.
What is __const?
A mistake, I was thinking about the const attribute to functions. Replace by our __pure2 in my tree.