c++ fast version