Fast scoring in C++.