A port to D of my Free Pascal "Binary Trees" benchmark implementation, initially written as a self-learning exercise.
Recommended command line for building and running this:
dub build --build=release-nobounds
cd ./bin
time ./binarytrees_benchmark 21