Improved performance of some common2 code
Improved performance of some common2 code

Test Plan: Compiled, ran a program which uses this. Ran make test

Reviewers: pad, julienv

Reviewed By: pad

Differential Revision: https://phabricator.fb.com/D763600

Task ID: 2253460

rpau/pfff,juergenhoetzel/pfff,rpau/pfff,mutantzombie/pfff,mutantzombie/pfff,egonSchiele/pfff,Hyunha/pfff,egonSchiele/pfff,juergenhoetzel/pfff,mutantzombie/pfff,egonSchiele/pfff,mutantzombie/pfff,egonSchiele/pfff,egonSchiele/pfff,rpau/pfff,mutantzombie/pfff,rpau/pfff,mutantzombie/pfff,rpau/pfff,juergenhoetzel/pfff,rpau/pfff,juergenhoetzel/pfff,rpau/pfff,rpau/pfff,mutantzombie/pfff,Hyunha/pfff,juergenhoetzel/pfff,juergenhoetzel/pfff,Hyunha/pfff,Hyunha/pfff,egonSchiele/pfff,juergenhoetzel/pfff,juergenhoetzel/pfff,mutantzombie/pfff,mutantzombie/pfff,juergenhoetzel/pfff,Hyunha/pfff,Hyunha/pfff,Hyunha/pfff,egonSchiele/pfff,egonSchiele/pfff,Hyunha/pfff,Hyunha/pfff,rpau/pfff,egonSchiele/pfff,juergenhoetzel/pfff,mutantzombie/pfff,mutantzombie/pfff,Hyunha/pfff,egonSchiele/pfff,rpau/pfff