Optimize code by clang
Optimize code by clang