compare pqp with rapid, rapid is faster; will make rapid in c++