Because long long ago, when CPU was slow, and compiler and stdlib were stupid, there were two versions.