Compiled `sizeOf` for all scalar values.

Closes #171.