Update D.d

Some cleanup for better code style. Happens to run .1 seconds faster with DMD -release -O -inline -noboundscheck on my machine.