native js is slower than c++ module when doing bit operation